Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: mikalof on December 13, 2011, 09:04:39 PM

Title: Modify system language ?
Post by: mikalof on December 13, 2011, 09:04:39 PM
Hello SME people!
In the process of installing SME 8 beta I set some system language and/or location prefs (can't remember where) to SWEDISH in order to make sure i get the right timezones etc. Therefore some console programs also seem to throw swedish output which I don't like. How do I get those apps back to speaking english? As an example the 'console' command is a completely swedish menu.
It is much easier to get help on the forums when not first needing to (inaccurately) translate what my server says...

Title: Re: Modify system language ?
Post by: Jáder on December 14, 2011, 10:58:54 AM
Hi

I'm using SME8b7 and have this:
Code: [Select]
[root@guepardo ~]# cat /etc/sysconfig/i18n
LANG="en_US"
SYSFONT="lat0-sun16"
SYSFONTACM="iso15"

Jáder
Title: Re: Modify system language ?
Post by: Stefano on December 14, 2011, 11:22:58 AM
Hello SME people!
In the process of installing SME 8 beta I set some system language and/or location prefs (can't remember where) to SWEDISH in order to make sure i get the right timezones etc. Therefore some console programs also seem to throw swedish output which I don't like. How do I get those apps back to speaking english? As an example the 'console' command is a completely swedish menu.
It is much easier to get help on the forums when not first needing to (inaccurately) translate what my server says...

you should first of all check your setup with
Code: [Select]
config show sysconfig

the key of interest is Language

change it with (example)
Code: [Select]
config setprop sysconfig Language en_US

expand the template with
Code: [Select]
expand-template /etc/sysconfig/i18n

finally, reboot your server with
Code: [Select]
signal-event post-upgrade
signal-event reboot

NOTE: not tested, should work
Title: Re: Modify system language ?
Post by: Jáder on December 14, 2011, 11:46:04 AM
Thanks Stefano ... Mikalof: that's the correct and SME way.


Title: Re: Modify system language ?
Post by: mikalof on December 16, 2011, 10:55:32 AM
Thanks! It worked.