Code for changing language

Reggie

Avatar: Reggie

2011-08-11 14:01

What is the code so that people can change from english to another language?

» Quick.Cms v3.x

cgan

Avatar: cgan

2011-08-11 15:04

Check here:
http://opensolution.org/Quick.Cms/docs/?id=instruction#languages_management

cgan

rzyber

Avatar: rzyber

2011-08-11 15:23

edit teplates/container.tpl and AFTER code

$sMenu1

paste

<a href="?sLang=pl">PL</a> | <a href="?sLang=en">EN</a>

Guido

Avatar: Guido

2011-08-11 15:38

Hi,

But if you wanna change the whole content of your pages into a second language, you must create a second language in admin and also create new pages in this second language.

For visitors to change language on your homepage you could use 'Top menu-first'.
Create new page in both languages. In the 'Page form' use the 'Address' field and copy-paste the URL of the language.
The homepage of every language has his own URL.

For example look at the URL of the OS homepage and change language from EN to PL.

Guido

Reggie

Avatar: Reggie

2011-08-11 16:00

Thanks guys (and/or girls).
Yes I knew about the language_management. What i did not know was how the people could change from the english page, to another language page, same like in the admin page.
I am now trying the source code of de admin page, and use the on-change method.
What I also will try is the example of Guido.

Again thanks.

Reggie

Avatar: Reggie

2011-08-11 16:04

rzyber, your tip works fine. Thanks.

Back to top
about us | contact