Page 1 of 1
Multilanguage page
Posted: Tue Sep 23, 2008 3:39 pm
by simo_n
Hello,
I have CMS v. 1.4 Jamaica and I want to be able to hold several languages on the website.
Is this possible without the new install CMS?
This is very important for me, because I have a very big site and the creation of a new portal does not fall within the.
Re: Multilanguage page
Posted: Tue Sep 23, 2008 11:48 pm
by Augustas
Yes, there is a CMSMS modification that supports multiple languages (MLE package):
http://forum.cmsmadesimple.org/index.ph ... 318.0.html
http://forum.cmsmadesimple.org/http://p ... .php?f=1.0
MLE package disadvantages are - it is updated not imidiately after official new version of CMSMS is released, also might be that not all modules will work correctly with MLE, unless you will adjust them by digging into the PHP code.
Another alternative, which also works, and you are not dependant on MLE package developers, are:
Create the following hierarchy of the page:
Code: Select all
1. Language #1
1.1. Page #1
1.2. Page #2
1.2.1. Sub-Page #1
1.2.2. Sub-Page #2
1.3. Page #3
...
2. Language #2
2.1. Page #1
2.2. Page #2
2.2.1. Sub-Page #1
2.2.2. Sub-Page #2
2.3. Page #3
...
Then in your template call menus with this code:
That's it!
If you want to access first level menus from sub-menus:
Code: Select all
{menu start_level="2" number_of_levels="1"}
For accessing the sub-menus:
Code: Select all
{menu start_level="3" number_of_levels="1"}
Translated from
Lithuanian thread