Page 1 of 1

Default_lang doesn't do anything

Posted: Thu Jun 04, 2009 8:46 am
by dapam
Ok, in my config_lang.php I have:

Code: Select all

define('DEFAULT_LANG', 'fi_FI');
$force_mle_default = true;

$hls = array(

 'fi_FI' => array(
        'block'=>'fi',
        'flag'=>'suomeksi',
        'text'=>'suomeksi',
        'locale'=>'fi_FI.utf8@euro',
 ),
 'en_US' => array(
        'block'=>'en',
        'flag'=>'in english',
        'text'=>'in english',
 ),
);
But everytime I access the page without hl / locale parameter, locale / language is set to en_US by default. It works fine after I click 'suomeksi'. So how can the locale to be set to fi_FI by default?

Re: Default_lang doesn't do anything

Posted: Thu Jun 04, 2009 8:07 pm
by alby
dapam wrote: Ok, in my config_lang.php I have:

Code: Select all

define('DEFAULT_LANG', 'fi_FI');
$force_mle_default = true;

$hls = array(

 'fi_FI' => array(
        'block'=>'fi',
        'flag'=>'suomeksi',
        'text'=>'suomeksi',
        'locale'=>'fi_FI.utf8@euro',
 ),
 'en_US' => array(
        'block'=>'en',
        'flag'=>'in english',
        'text'=>'in english',
 ),
);
But everytime I access the page without hl / locale parameter, locale / language is set to en_US by default. It works fine after I click 'suomeksi'. So how can the locale to be set to fi_FI by default?
In 1.5.4 there is a bug in check function but I have not verify if is relative to your problem.
However, try to comment in config_lang (add # char in front) and use check in Admin Global Settings

Alby