Locale using system-config-language
Tim
ignored_mailbox at yahoo.com.au
Mon Jun 18 08:57:40 UTC 2007
Tim:
>> I don't recall finding a way to do that. However, the languages choice
>> on the GDM greeter screen (where you first login) lets you pick your
>> locale. And does so, whether or not there's a specific language pack
>> installed for it. e.g. You can set en-AU, and get it, even if there's
>> no Australian-specific English language pack on the box.
Ian Chapman:
> Thanks for that tip Tim, that does work well for me but of course that
> doesn't work when logging in on a VT.
Hmm, I thought it would. Once you've logged in using it to set your
preference, the value is set for your login. You don't need to ever do
it again, and I found that the output of running locale showed my
preferences if I did log in on a virtual terminal. I don't know why we
got different results.
> Curiously, if I edit /etc/sysconfig/i18n which currently contains:
>
> LANG="en_US.UTF-8"
> SYSFONT="latarcyrheb-sun16"
> SUPPORTED="en_US.UTF-8:en_US:en"
>
> and change SUPPORTED to:
>
> SUPPORTED="en_US.UTF-8:en_US:en:en_GB.UTF-8"
>
> then system-config-language lets me choose English (UK) and updates
> LANG to en_GB.UTF-8. Seems strange to me that in order to use a
> graphical tool you have to use the command line and 'hack' the config
> first.
Looking at what CentOS offers, there. There is no "supported" line, and
the languages GUI does give me a list of languages with local variants.
I hadn't looked, before, because I was used to Fedora offering just
"English." After picking English (Australian) its /etc/sysconfig/i18n
file is:
LANG="en_AU.UTF-8"
SYSFONT="latarcyrheb-sun16"
Maybe you might want to try removing the "supported" line and see if it
changes what's offered in the GUI?
--
(This box runs Centos 5.0, my others still run FC 4, 5, 6, & 7, in case that's
important to the thread.)
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
More information about the fedora-list
mailing list