cmsms-mle-1.0.2-build4 - default language does not work

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
ellarso

cmsms-mle-1.0.2-build4 - default language does not work

Post by ellarso »

hi,

i installed the multi-language version with two languages (german, english) until now i did not have any problems, everything works well as it should. but there is one thing that does not work.

i want german to be the default language. in the admin interface i set the default language to german but everytime i call my site there is english at first.

what could be the problem?
thanks
lars
cyberman

Re: cmsms-mle-1.0.2-build4 - default language does not work

Post by cyberman »

Please look at config_lang.php ,line 8

Code: Select all

define('DEFAULT_LANG', 'en');
You should set it to 'de' :) ...
ellarso

Re: cmsms-mle-1.0.2-build4 - default language does not work

Post by ellarso »

I already did that, but there is no difference. i am still getting english at first.  ???
swgreed

Re: cmsms-mle-1.0.2-build4 - default language does not work

Post by swgreed »

ellarso wrote: I already did that, but there is no difference. i am still getting english at first.  ???
I have/had the same problem. See the following post for a solution:
http://forum.cmsmadesimple.org/index.ph ... l#msg43281

Seems to be IE7 specific...
http://forum.cmsmadesimple.org/index.ph ... l#msg43363
ellarso

Re: cmsms-mle-1.0.2-build4 - default language does not work

Post by ellarso »

thank you, that does work well.

but now i am forcing a new problem. on my page i include the language selector with the {lang} - tag as it is normal. if i want to load e.g. the first page (home) the link would be 'index.php/de/home' for german version and 'index.php/en/home' for english version.

the first call to www.mydomain.com creates the right links for the language flags. if i now select the english language the browser loads the english page for me, perfect - but the flags now have a bad link. they now only have '/de/home' and '/en/home' which won't work because the index.php is missing.

what could be the problem here?

thank you
Locked

Return to “CMSMS Core”