On Wed, 2011-08-31 at 13:03 +0100, John Horne wrote: > Hello, > > Running RHEL 6.1, I have set the default language in /etc/sysconfig/i18n > as LANG="en_GB.UTF-8". However, when I log in as a user I get a > different language: > > echo $LANG > en_US.UTF-8 > > If I then 'su -' to root, and do the same then I get the correct > language: > > echo $LANG > en_GB.UTF-8 > > > Any ideas why the non-root user does not get the correct language? > The 'English (UK)' language was selected during installation. > I have also tried running 'system-config-language', but the problem > persists. > Hello,
I have put the LANG setting in the '/etc/environment' file (as well as /etc/sysconfig/i18n), and that seems to have solved it. The LANG is now set correctly for root and non-root users. John. -- John Horne, University of Plymouth, UK Tel: +44 (0)1752 587287 Fax: +44 (0)1752 587001 _______________________________________________ rhelv6-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv6-list
