$lang not changing with language ?

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
great-dane
New Member
New Member
Posts: 5
Joined: Sun Oct 11, 2009 6:06 pm

$lang not changing with language ?

Post by great-dane »

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
Peciura

Re: $lang not changing with language ?

Post by Peciura »

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"
great-dane
New Member
New Member
Posts: 5
Joined: Sun Oct 11, 2009 6:06 pm

Re: $lang not changing with language ?

Post by great-dane »

Files attached - for config_lang.php added suffix .txt

Thanks..
Attachments
MLE_Lang.jpg
MLE_Sett.jpg

[The extension txt has been deactivated and can no longer be displayed.]

great-dane
New Member
New Member
Posts: 5
Joined: Sun Oct 11, 2009 6:06 pm

Re: $lang not changing with language ?

Post by great-dane »

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
Locked

Return to “[locked] CMSMS MLE fork”