Im having the strange problem, that the value of $lang stays the value of the default language (en_US) regardless what language is selected. The page text and menu text changes OK - but $lang always shows en_US.
I would like to start using the news module, but need to query the current language in $lang to get it working OK.
Any ideas ?
Im running CMSMS 1.6 MLE with DA and EN languages installed.
Martin
$lang not changing with language ?
-
- New Member
- Posts: 5
- Joined: Sun Oct 11, 2009 6:06 pm
Re: $lang not changing with language ?
Which language have you set to default one ?
Post to forum
config_lang.php
screenshots of
"Site Admin » Global Settings » MLE settings" and
"Site Admin » Global Settings » MLE languages"
Post to forum
config_lang.php
screenshots of
"Site Admin » Global Settings » MLE settings" and
"Site Admin » Global Settings » MLE languages"
-
- New Member
- Posts: 5
- Joined: Sun Oct 11, 2009 6:06 pm
Re: $lang not changing with language ?
Files attached - for config_lang.php added suffix .txt
Thanks..
Thanks..
-
- New Member
- Posts: 5
- Joined: Sun Oct 11, 2009 6:06 pm
Re: $lang not changing with language ?
Found it myself
- was missing en_US and da_DK in the 'locale_cms'=>' in the config_lang-php file.
Now it works as a charm - thanks for bringing me on it through you asking for the files/shots...
Martin

Now it works as a charm - thanks for bringing me on it through you asking for the files/shots...
Martin