set environment language at login screen

Phil Schaffner Philip.R.Schaffner at NASA.gov
Wed Jun 30 20:41:55 UTC 2004


On Wed, 2004-06-30 at 13:23 -0700, Rick Stevens wrote:
> Phil Schaffner wrote:
> > On Wed, 2004-06-30 at 19:40 +0100, Shashank Sharma wrote:
...
> >>My query is, how to choose language if login is set
> >>for init 3. I mean, how would I choose a language for
> >>my session if I don't have a graphical login screen.
> > 
> > 
> > Believe the LANG environment variable will do it.  See what
> > "env | grep LANG" shows with the desired language environment active,
> > and then "export LANG=<setting>" in runlevel 3.
> 
> Try changing the "LANG=" setting in /etc/sysconfig/i18n as that sets
> the default language.  /etc/sysconfig/keyboard sets the default keymap,
> too.

Should have mentioned those for completeness, but sounded like he just
wanted to change the user environment rather than the system default.

Phil






More information about the fedora-list mailing list