On Sun, Aug 25, 2019 at 6:20 PM Tony Mechelynck
<antoine.mechelynck@gmail.com> wrote:
>
> On Sun, Aug 25, 2019 at 6:08 PM 'Arup Rakshit' via vim_use
> <vim_use@googlegroups.com> wrote:
> >
> > Hello,
> >
> > When I open my vim in the iTerm2 as below, I see lot of warnings.
> >
> > ➜ vim
> > Warning: Failed to set locale category LC_NUMERIC to en_IN.
> > Warning: Failed to set locale category LC_TIME to en_IN.
> > Warning: Failed to set locale category LC_COLLATE to en_IN.
> > Warning: Failed to set locale category LC_MONETARY to en_IN.
> > Warning: Failed to set locale category LC_MESSAGES to en_IN.
> >
> >
> > What could be the problem of these?
> >
>
> Do you by any chance have the statement "language en_IN" in your
> vimrc? If you do, then it means that your system doesn't accept en_IN
> as a valid locale.
>
> On Unix-like systems, "locale -a | less" (typed at a shell prompt)
> will show you all the locale names known by the system. On Windows,
> the locale names have a different format: if you are running Vim on
> Windows, try "language English_India.10646" instead.
>
> Best regards,
> Tony.
Oh and another thing: on Unix-like systems, if $LC_ALL is set, you
cannot change any other locale setting because it overrides them all.
OTOH, if $LC_ALL is not set, then if $LANG is set it will be used as a
fallback value for any $LC_* which is not defined.
Best regards,
Tony.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAJkCKXsTq3Z46X8jaED3mKuhxvOBQ6MyjVDJMe-LHE0jggM15w%40mail.gmail.com.
No comments:
Post a Comment