Multilanguage page

General project discussion. NOT for help questions.
Post Reply
simo_n
New Member
New Member
Posts: 4
Joined: Tue Aug 26, 2008 10:31 pm

Multilanguage page

Post 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.
User avatar
Augustas
Forum Members
Forum Members
Posts: 241
Joined: Wed Oct 17, 2007 6:09 pm

Re: Multilanguage page

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

Code: Select all

{menu start_level="2"}
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
http://FollowTheRoad.com/ - living on the road...
http://www.kligys.com/ - asmeninis blog'as...
Post Reply

Return to “General Discussion”