Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: flaviove on September 29, 2005, 02:11:32 AM
-
Hi All,
What sould I do if I want to have a differente language (not English) as a default on the SME-Webmail.
Any help will be great.
Thanks in advance.
Cheers
Flavio
-
Hi
This is from memory... so can have minor glitches:
edit file prefs.php (or prefs.php.dist?)
change en_US by pt_BR (for Brazilian Portuguese!)
on a lang or language line.
If you don´t like to show the combo box to choose language, you must change the locked setting from false to true.
I hope this help.
Good luck
Jáder
-
Hi Jáder,
Thanks a lot.
I´m going to try it, and the "lock set" was great!
Cheers
Flavio
-
Hi Jáder,
I got it. After some dig in ....
Below what I did:
The idea was lock it.
]#vi /home/httpd/html/horde/config/prefs.php
and change the lines:
-----------------------------------
//user language
$_prefs['language'] = array(
'value' => ' '
'locked' => false,
'shared' => true,
'type' => 'select',
'desc' => _(Select your prefered language:)
);
---------------------------------------------
to:
----------------------------------------------
//user language
$_prefs['language'] = array(
'value' => 'pt_BR'
'locked' => true,
'shared' => true,
'type' => 'select',
'desc' => _(Select your prefered language:)
);
-------------------------------------------------
And now it is working like a charme.
Thanks a lot,
Flavio