Welcome to the phpCMS demo: simple i18N

How-To for simple i18N with phpCMS

Additional Info

In case you aren't using the search function, you don't need multiple home.[de|en].tag, and home.[de|en].mtpl files. These are used mainly to output different text on the search page.

Search

You need to create separate search indices for each language. In order for Langs2Link to let you switch between search results pages, the data directories need to be called "suche_de" and "suche_en". If your index directories are named differently, you need to change the value for "datadir" in the search form of the template. In any case it's important that the data directories end in "_en", "_de" and so on.

Credits

Thanks to Iggi for this XSS vulnerability proof plug-in.