Koozali.org: home of the SME Server

Changing system language [SOLVED]

Offline kartone

  • ***
  • 61
  • +0/-0
Changing system language [SOLVED]
« on: April 28, 2010, 01:48:25 PM »
Hi everybody,

sorry for lame question but during installation of 7.4 i did a wrong choice for system language (italian instead of default english). Is there any way to change system language ?

I did :

Code: [Select]
yum install system-config-language
but it recognize only the italian. Actually i'm looking for solution to install english language. Thanks in advance.
 
« Last Edit: April 29, 2010, 07:43:22 AM by kartone »

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Changing system language
« Reply #1 on: April 28, 2010, 02:34:29 PM »
You can edit /etc/sysconfig/i18n and modify the two first lines like:

Code: [Select]
LANG="en_US"
SUPPORTED="en_US:en"

Then

Code: [Select]
config setprop sysconfig Language en_US
signal-event console-save

Thats it.
« Last Edit: April 28, 2010, 06:24:37 PM by byte »
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline kartone

  • ***
  • 61
  • +0/-0
Re: Changing system language
« Reply #2 on: April 28, 2010, 05:50:58 PM »
Thx for help, maybe there's something wrong...

Code: [Select]
[root@mail /]# config setprop sysconfig Language=en_US
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...

But it worked!  :eek:
Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Changing system language
« Reply #3 on: April 28, 2010, 06:06:53 PM »
config setprop sysconfig Language en_US
signal-event console-save

Offline slords

  • *****
  • 235
  • +3/-0
Re: Changing system language
« Reply #4 on: April 28, 2010, 06:14:33 PM »
kartone, fix your email address in your profile or your acct will be suspended.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Changing system language
« Reply #5 on: April 28, 2010, 06:26:05 PM »
Thx for help, maybe there's something wrong...

Code: [Select]
[root@mail /]# config setprop sysconfig Language=en_US
/sbin/e-smith/db dbfile setprop key prop1 val1 [prop2 val2] [prop3 val3] ...

But it worked!  :eek:
Thanks!

Yep, copy & paste problem on my half, I have edited my post and Charlie shows the correct command as well.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline kartone

  • ***
  • 61
  • +0/-0
Re: Changing system language
« Reply #6 on: April 29, 2010, 07:43:05 AM »
Thanks!

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Changing system language [SOLVED]
« Reply #7 on: April 30, 2010, 10:04:47 AM »
kartone, please remember shad's advice:

Quote
kartone, fix your email address in your profile or your acct will be suspended.

thank you

Offline kartone

  • ***
  • 61
  • +0/-0
Re: Changing system language [SOLVED]
« Reply #8 on: April 30, 2010, 10:29:49 AM »
Fixed the same day. Thanks.