Multilanguage CMSMS MLE 1.6.6

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
alby

Multilanguage CMSMS MLE 1.6.6

Post 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
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Multilanguage CMSMS MLE 1.6.6

Post 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
Peciura

Re: Multilanguage CMSMS MLE 1.6.6

Post 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
Last edited by Peciura on Mon Oct 26, 2009 8:12 pm, edited 1 time in total.
antibart
Power Poster
Power Poster
Posts: 1161
Joined: Sun Aug 17, 2008 9:29 am

Re: Multilanguage CMSMS MLE 1.6.6

Post 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 ...

..
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Multilanguage CMSMS MLE 1.6.6

Post 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!
Peciura

Re: Multilanguage CMSMS MLE 1.6.6

Post 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
antibart
Power Poster
Power Poster
Posts: 1161
Joined: Sun Aug 17, 2008 9:29 am

Re: Multilanguage CMSMS MLE 1.6.6

Post 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 ...
Pepsy
New Member
New Member
Posts: 7
Joined: Wed Mar 24, 2010 2:33 pm

Re: Multilanguage CMSMS MLE 1.6.6

Post 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.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: Multilanguage CMSMS MLE 1.6.6

Post 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.
Pepsy
New Member
New Member
Posts: 7
Joined: Wed Mar 24, 2010 2:33 pm

Re: Multilanguage CMSMS MLE 1.6.6

Post by Pepsy »

Thank you!

You rock!  :)
Locked

Return to “[locked] CMSMS MLE fork”