Koozali.org: home of the SME Server

Modify system language ?

Offline mikalof

  • **
  • 27
  • +0/-0
Modify system language ?
« 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...

« Last Edit: December 13, 2011, 09:55:28 PM by mikalof »

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Modify system language ?
« Reply #1 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
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Modify system language ?
« Reply #2 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

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Modify system language ?
« Reply #3 on: December 14, 2011, 11:46:04 AM »
Thanks Stefano ... Mikalof: that's the correct and SME way.


...

Offline mikalof

  • **
  • 27
  • +0/-0
Re: Modify system language ?
« Reply #4 on: December 16, 2011, 10:55:32 AM »
Thanks! It worked.