Page 1 of 1

Multilanguage CMSMS MLE 1.6.6

Posted: Sun Oct 25, 2009 9:15 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.6

Alby

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Mon Oct 26, 2009 7:44 pm
by saltydog
Sorry alby, but I am a quite bit confused by the update process. I have a CMS-MLE 1.6.3 working and I need to upgrade to MLE 1.6.6.

Should I follow this procedure?

1. cmsmadesimple-full-diff-1.6.3-1.6.4.tar.gz
2. cmsmadesimple-full-diff-1.6.4-1.6.6.tar.gz
3. diff-mle-vs-cmsms-1.6.6.zip
4. run install/upgrade.php

?

The problem is point 3...

Thanks

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Mon Oct 26, 2009 8:07 pm
by Peciura
Grab cmsms-mle-1.6.6-full.tar.gz or cmsms-mle-1.6.6-base.tar.gz only and run install/upgrade.php

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Tue Oct 27, 2009 9:40 am
by antibart
FYI: I replaced files of my 1.6.3-instalation with

diff-mle-vs-cmsms-1.6.6

tinymce prdoduced errors after that (missing security-anthing in TinyMCE.module.php) ...

just downgraded tiny back to the older version ...

..

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Tue Oct 27, 2009 10:01 am
by saltydog
Peciura wrote: Grab cmsms-mle-1.6.6-full.tar.gz or cmsms-mle-1.6.6-base.tar.gz only and run install/upgrade.php
Thank you!
Upgraded 3 sites: they work like a charm!

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Tue Oct 27, 2009 10:16 am
by Peciura
Antibart: "diff-mle-vs-cmsms-1.6.6" is file package to convert regular CMSms-1.6.6 to CMSms-1.6.6-mle-fork.
If you uploaded "diff-mle-vs-cmsms-1.6.6" and downgraded TinyMCE - you are somewhere in the middle between CMSms-1.6.3-mle-fork and CMSms-1.6.6-mle-fork 
Grab cmsms-mle-1.6.6-full.tar.gz or cmsms-mle-1.6.6-base.tar.gz only and run install/upgrade.php

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Tue Oct 27, 2009 2:03 pm
by antibart
Peciura wrote: Antibart: "diff-mle-vs-cmsms-1.6.6" is file package to convert regular CMSms-1.6.6 to CMSms-1.6.6-mle-fork.
If you uploaded "diff-mle-vs-cmsms-1.6.6" and downgraded TinyMCE - you are somewhere in the middle between CMSms-1.6.3-mle-fork and CMSms-1.6.6-mle-fork 



Yes --- After this error i knew that the diff-update is not the regular one to update mle ...

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Tue Mar 30, 2010 1:40 pm
by Pepsy
First of all thank you for developing MLE!

Now let's go to the question. I'm using MLE for page with 2 languages. Slovenian and English. http://www.fs.uni-lj.si/lat/templat/ The default language is Slovenian. For slovenian I first used for default Slovakian and than updatet config_lang.php to slovenian:

Code: Select all

<?php

/*******
 SINTAX:
 'KEY' => array(
	'locale_cms' => 'LOCALE LANGUAGE IN CMSMS', //MANDATORY One valid CMSMS locale or near to
	'block' => 'DATABASE KEY', //MANDATORY AND UNIQUE In general 2 chars same of 'parent'
	'parent' => 'PARENT LANGUAGE', //OPTIONAL 2 chars parent language, if you have others set to 5 WITH DASH, ex: en-au
	'flag' => 'HTML IMG TAG FOR LOCALE FLAG', //MANDATORY ABSOLUTE URL PATH
	'text' => 'NATIVE LANGUAGE', //OPTIONAL Use for lang plugin if you don't use flags icon
	'locale' => 'SERVER LOCALE', //OPTIONAL Set for specific locale server if different from 'locale_cms'
 ),
 *******/

$hls = array(
 'eng' => array(
	'locale_cms'=>'en_US',
	'block'=>'en',
	'parent'=>'en',
	'flag'=>'<img src="http://lab.fs.uni-lj.si/lat/templat/uploads/lang/gb.png" style="border:0;opacity:1;" alt="English" title="English" />',
	'text'=>'English',
	'locale'=>'en_US.UTF-8'
 ),
 'slo' => array(
	'locale_cms'=>'sl_SI',
	'block'=>'sl',
	'parent'=>'sl',
	'flag'=>'<img src="http://lab.fs.uni-lj.si/lat/templat/uploads/lang/si.png" style="border:0;opacity:1;" alt="Slovenščina" title="Slovenščina" />',
	'text'=>'Slovenščina',
	'locale'=>'sl_SI.UTF-8'
 ),
);
?>
Everything is working OK  exept where i put {lang} tag, only one flag apeares of a curent language. If i put in browser url of english page it comes up with no problem ( http://lab.fs.uni-lj.si/lat/templat/ind ... ome&hl=eng ), but there is also only english flag seen. Did i forget to change something inportant?

Thank you for your time in advance!

M.P.

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Tue Mar 30, 2010 1:44 pm
by saltydog
The two flags will both appear only on those pages having both languages published. You need first to deploy the translation for a page, in order to see both flags.

Re: Multilanguage CMSMS MLE 1.6.6

Posted: Tue Mar 30, 2010 2:02 pm
by Pepsy
Thank you!

You rock!  :)