Bruno Haible wrote:
> Bram Moolenaar writes:
>
> > Who of you knows which one of these will work:
> >
> > ja_JP.Utf-8
> > ja_jp.UTF-8
> > JA_jp.utf-8
> > JA_JP.UTF-8
>
> The first one will work w.r.t. glibc, but not with X11. The other ones
> won't work at all.
On my FreeBSD system none of them work. Can you guess the one that does?
(Just to show how difficult these things are in practice.)
> > Case shouldn't matter for a locale name.
> > It's about time this is made user-friendly (in other words: gets fixed).
>
> Nah. Users have to respect case where it is significant.
I'm not talking about how it works, I'm talking about how it should work.
I'm not talking about telling the user what he has to do, I'm talking about
listening to the user and thinking of what we can do to make his life easier.
I know I had a very hard time figuring out locale names, until I discovered
the directory where they are stored. That's like learning to know how to use
a program by looking at the source code. No, the documentation doesn't have a
list of locale names that work. I couldn't find it on the internet either (I
did find that directory name).
> None of the
> following will work either:
>
> $ Vim
> $ vIm
> $ Lang=En
> $ eXport lang=c
All of them work when just using lower case, except for $LANG. I have no idea
why, thus a normal user can't be expected to understand this either.
Since the mix of lower and upper case is already being used, switching to all
lower case is not a good solution. Therefore, ignoring case should be used.
I don't know of an implementation reason why this would not be possible.
> For users who cannot remember case, we provide GUI front ends with
> combo boxes or scrollable lists, and the user just chooses "Japanese"
> from a long list of languages/locales/timezones.
So, where in my window manager do I find a tool to set the current language in
one of the xterms I have open? No, this doesn't exist.
--
hundred-and-one symptoms of being an internet addict:
40. You tell the cab driver you live at
http://123.elm.street/house/bluetrim.html
41. You actually try that 123.elm.street address.
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.moolenaar.net \\\
((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/