Changing Vim Messages and UI language - Looking for a more elegant resolution. #287

Open
RobertinoValue opened this Issue Feb 6, 2013 · 4 comments

Comments

Projects
None yet
3 participants
@RobertinoValue

In my existing Vim setup:
To prevent that the Vim menus and messages are localized, I had to add the following 2 lines at the top of my _vimrc:
`language messages en
set langmenu=en_US.UTF-8 "Menus in UTF-8 English.``

Backed up Vim config and history, installed spf13-vim.
Against better judgement I copied the 2 lines into .vimrc.local as the first 2 lines. But of course they were ignored, and the menus appeared in my native language, instead of English. The other stuff, some F-key remaps after those 2 lines worked, so the file was processed.
For a quick test, I added just those 2 lines to a file named .vimrc.prio.local, and pulled that file in just after the first block of comments in the .vimrcfile that came with spf13-vim.
" Use local priority inialization vimrc if available { if filereadable(expand("~/.vimrc.prio.local")) source ~/.vimrc.prio.local endif " }
This time the Vim menu and messages appeared in English as before.

The problem is, that I now have a modified .vimrc file (red circle with exclamation mark). And I'm not able to pull or fetch+merge before doing a commit.
Is there a more elegant resolution to this?

@spf13

This comment has been minimized.

Show comment Hide comment
@spf13

spf13 Feb 8, 2013

Owner

I've been looking into ways to add an earlier hook and a later hook for local modifications. I'll let you know what I find.

Owner

spf13 commented Feb 8, 2013

I've been looking into ways to add an earlier hook and a later hook for local modifications. I'll let you know what I find.

@RobertinoValue

This comment has been minimized.

Show comment Hide comment
@RobertinoValue

RobertinoValue Feb 8, 2013

That would be great. And thanks for this nice installer.

That would be great. And thanks for this nice installer.

@bronzehedwick

This comment has been minimized.

Show comment Hide comment
@bronzehedwick

bronzehedwick Aug 12, 2014

Contributor

@RobertinoValue, there is now an early hook via the .vimrc.before.local file. Does setting language there work?

Contributor

bronzehedwick commented Aug 12, 2014

@RobertinoValue, there is now an early hook via the .vimrc.before.local file. Does setting language there work?

@RobertinoValue

This comment has been minimized.

Show comment Hide comment
@RobertinoValue

RobertinoValue Aug 22, 2014

I can't check.
I moved all design and development to Linux about 9 months ago. And I am using other tools of the trade now. But thanks for asking.

I can't check.
I moved all design and development to Linux about 9 months ago. And I am using other tools of the trade now. But thanks for asking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment