Thank youandreTTi wrote: Hi alby and thank you for your great work!

In Unix and shell account or create a php file with this command: locale -aandreTTi wrote: I have installed cmsms mle 1.1.2 and so far it works great except for one small thing. For some reason firefox chooses english as default language although I have configured swedish as default. (With Opera and IE6 it's working and swedish is default)
I tried to follow your instructions as closely as possible but maybe I got somehing wrong..
This is my config_lang.php:
define('DEFAULT_LANG', 'sv_SE');
$hls = array(
'en_US' => array(
'block'=>'en',
'flag'=>'',
),
'sv_SE' => array(
'block'=>'sv',
'flag'=>'',
'locale'=>'sv_SE',
),
Actually i'm not sure about 'locale'=>'sv_SE' ? Is this correct? If not, where can I find the correct locale?
Code: Select all
<?php
$output = shell_exec('locale -a');
echo $output;
?>
I add this option for avoid locale problem on servers.
I think, for next release, the possibility of force DEFAULT_LANG in config_lang.php:
$force_default_lang = true/false; // Default: false
OkandreTTi wrote: In config.php locale is left empty. ($config['locale'] = '';)
In Site Admin->Global Settings, "Default language for the frontend:" = "No default selected"

In normal mode CMSMS modules load en_US languages (load other language with lang params only)andreTTi wrote: What do you mean by "current language (in this way CMSMS load current locale language for ALL modules)"?
What are your languages in Firefox (Tools > Options > Advanced > General > Languages)?andreTTi wrote: In firefox a cookie named "mle" is set to "en_US" when I go to my frontpage. In Opera it is set to "sv_SE" as it should. Default language is set to Swedish in both firefox and opera.
Alby