Page 1 of 2

Multilanguage CMSMS MLE 1.6.3

Posted: Tue Aug 04, 2009 4:54 pm
by alby
Look to history changelog here
Look to install/upgrade process here

Release in forge
Full version contain all languages
Base version contain en_US language only (see here for other translation packages)
Diff file is VS CMSMS 1.6.3

Alby

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Wed Aug 05, 2009 6:53 am
by Cherry
Hello Alby,
Upgraded from 1.6.0-mle to 1.6.3-mle
Looks perfect so far ...

Thanks a lot for your patience.

Cherry

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Thu Aug 06, 2009 4:47 pm
by saltydog
Cherry wrote: Hello Alby,
Upgraded from 1.6.0-mle to 1.6.3-mle
Looks perfect so far ...

Thanks a lot for your patience.

Cherry
The same for me.

Thank you.

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Thu Aug 20, 2009 8:36 pm
by bootdog
Upgrade was fine but when updating the MLE languages settings I get:

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /home/portal2.madame-helene.dk/www/admin/siteprefs_mle.php on line 203

Warning: array_search() [function.array-search]: Wrong datatype for second argument in /home/portal2.madame-helene.dk/www/admin/siteprefs_mle.php on line 203

Preferences have been updated.

Any help ???

Thanks !

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Fri Aug 21, 2009 4:08 am
by Cherry
I had the same error when updating.
My solution was to check config_lang.php and make sure

Code: Select all

'locale_cms'=>''
has a value.
In my case ( German) for example like so:

Code: Select all

'locale_cms'=>'de_DE',
Hope that helps
Cherry

Re: [SOLVED] Multilanguage CMSMS MLE 1.6.3

Posted: Fri Aug 21, 2009 5:23 am
by bootdog
Wonderful thanks that did the trick !!!

thanks ! :-)

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Fri Aug 21, 2009 11:11 am
by mls24
any news on arabic and persion to be added in the site languages?

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Fri Aug 21, 2009 12:45 pm
by seensite
@mls24
Hi, arabic language is already in site languages with ML Edition of CMSMS, see http://www.mosque.ch/index.php?page=home&hl=ar_AR for example (old design, not mine! - I just integrated it in CMSMSMLE), and persian should run the same way but I don't have an example.

Best regards

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Fri Aug 21, 2009 1:23 pm
by mls24
i couldnt found arabic in the default language selection drop down in the admin section under the site admin >> global settings  >> general settings or mle settings..

please provide steps to setup arabic language..

that would save tons of time for me..

i tried to follow alby's step document.. but got confused inbetween.

thanks in advance,
mike

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Fri Aug 21, 2009 1:48 pm
by seensite
This is the config_lang I used for arabic & Co:

define('DEFAULT_LANG', 'fr_FR');
$force_mle_default = false;

$hls = array(


'ar_AR' => array(
'block'=>'ar',
'flag'=>'',
'text'=>'Arabic',
),

  'en_US' => array(
'block'=>'en',
'flag'=>'',
'text'=>'English',
),

'fr_FR' => array(
'block'=>'fr',
'flag'=>'',
'text'=>'Français',
),

'de_DE' => array(
'block'=>'de',
'flag'=>'',
'text'=>'Deutsch',
),

As you can see it is pre-mle16 config_lang, so you have to adjust for post-1.6. It would take much more time than I have to provide steps which are already in tutorials and in this forum.

Wrong datatype for second argument

Posted: Sat Aug 29, 2009 9:28 pm
by xmas3
Hi all,
after upgrading from MLE 1.4.1 to 1.6.3 and followed the upgrade manual, Im still getting error messages

Code: Select all

in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in ..
for {lang} and {menu} tags.

Any ideas what can be wrong?

Thanks a lot, Miro

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Mon Sep 28, 2009 6:43 am
by nfarran
How can I assign a template in Spanish and English for a MLE 1.6.3
same page?

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Mon Sep 28, 2009 7:04 am
by seensite
nfarran wrote: How can I assign a template in Spanish and English for a MLE 1.6.3
same page?
I'm not sure to understand, if your template contains the mle tags the Spanish and English languages are set in the admin panel, at "MLE languages". The same page is used for both languages if it does exist in the default language (english for example), but not in other languages (i.e spanish).

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Tue Sep 29, 2009 2:02 pm
by denli
I also would like to know how I can Use diffrent templates (layouts) for the other languages.

I want to use a theme for every country in the header but I cant seem to do this?

Re: Multilanguage CMSMS MLE 1.6.3

Posted: Tue Sep 29, 2009 5:29 pm
by alby
Template has a direct relation with page and it's not changeble (you must change in DB, look here for example)
You can use a different theme for each language (in same page) with stylesheets language dependent

Look Tips and Tricks #6 for an example

Alby