<div>On Thu, 12 Jan 2006 15:33:32 +1030 Tim wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
  <pre>Tim:<br>>>> Previously I've set one of my FC4 boxes to the correct locale for me<br>>>> (en_AU, not the default en_US), but I cannot remember how I did that,<br>>>> nor find a way to do it now.  What's the trick?
<br><br>Paul Howarth:<br>>> Edit /etc/sysconfig/i18n ?<br><br>Tim: <br>> Too easy, and it works too!  ;-)  But I don't remember whether I did it<br>> that way before, it doesn't jog the memory.  And try as I might, during
<br>> the last two installations, I couldn't find a way to install additional<br>> languages like prior versions did.<br>> <br>> I spent ages apropos-ing locale and language.  There's a man file for<br>> setlocale that leads you up the garden path (there's no setlocale
<br>> command).<br><br>Seems I spoke too soon.  It looks like /etc/sysconfig/i18n is only part<br>of the equation.  On one of my PCs it contains this:<br><br>LANG="en_US.UTF-8"<br>SYSFONT="latarcyrheb-sun16"
<br>SUPPORTED="en_US.UTF-8:en_US:en"<br><br>Yet, if I type "locale" into a CLI, as myself, I get the following back:<br><br>LANG=en_AU.UTF-8<br>...<br><br>But as root, or other users, I get en_US answers, thus:
<br><br>LANG=en_US.UTF-8<br>...<br><br>So there must be somewhere else that sets the locale, but I don't know<br>where for sure - I can see a ~/.dmrc file with a locale in it, but I<br>don't know if that's the be-all and end-all for individual user
<br>settings.  It appears that /etc/sysconfig/i18n just sets the default.</pre>
</blockquote>
<br>
<br>
On Thu, 12 Jan 2006 08:23:14 -0500 Claude Jones wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
  <pre>Don't know if this is what you're looking for, but have you played with this?<br>/usr/bin/system-config-language<br>This presupposes you have more than one language already installed, however. </pre>
</blockquote>
<div><br>
</div></div>I too had a problem with the default locale being set to
en_US-UTF-8 despite selecting a UK keyboard and London timezone at
install time.  From memory, the Anaconda graphical installer
listed "English" as the only English variant rather than "English
(U.S.)", "English (British)" etc.<br>
<br>
After a bit of rummaging around I found that the default FC4
installation also fails to correctly list the full set of available
locales in /etc/sysconfig/i18n.  Running "/usr/bin/locale
--all-locales" gives me a massive list, but the configuration file
lists only three on the line beginning "SUPPORTED=...", as shown in
Tim's example above.  Consequently, the "system-config-language"
tool recommended by Claude Jones lists "English (USA)" as the only
available option.  That's what I call Hobson's Choice ;-)<br>
<br>
Only once I had manually appended "...:en_GB.UTF-8" to this line of the
configuration file would the "sytem-config-language" tool allow me to
set my preferred locale.  This, as you might expect, simply sets
the value of "LANG=..." in the configuration file and results in a
change to the default locale for subsequent logins.  (This system
default may still be overridden by dotfiles in your home directory, of
course.)<br>
<br>
I wonder if this problem with /etc/sysconfig/i18n is a shortcoming of the FC4 installation procedure?<br>
<br>
-- <br>
Richard.<br>