Multilangual Babel show=""

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Brandt
Forum Members
Forum Members
Posts: 55
Joined: Fri Mar 05, 2010 10:04 am

Multilangual Babel show=""

Post by Brandt »

Dear all,

I have build a multilangual website.
Dutch (nl_NL), English (en_US), German (de_DE), French (fr_FR), Flemish (nl_BE) en Walloon (fr_BE).

This tag is inside the website {babel action="menu"}

The menu works, look at www.verasol-online.nl (without Flemish and Walloon, these are not activated) and the language names are replaced with flags.

The next thing I would like to do is to activate Flemish and Walloon in the Babel module, but not to be shown in this menu. And to make a seperate menu with Flemish and Walloon.

So I found a way, I thought, to do this inside the Babel tag:

{babel action="menu" show="nl_NL,en_US,de_DE,fr_FR"}

But it doens't work.

So I tried several other options, but all without any luck:

{babel action="default" show="nl_NL,en_US,de_DE,fr_FR"}
{babel show="nl_NL,en_US,de_DE,fr_FR"}
{babel action="default" show="Nederlands,English"} (language names)


Anybody with an idea?

Greetings,

Joep
Last edited by Brandt on Fri Aug 13, 2010 7:04 am, edited 1 time in total.
Brandt
Forum Members
Forum Members
Posts: 55
Joined: Fri Mar 05, 2010 10:04 am

Re: Multilangual Babel show=""

Post by Brandt »

Is there nobody with any clue?
owr_bgld

Re: Multilangual Babel show=""

Post by owr_bgld »

do you use {babel action="assign"} at the beginning of your template?

http://forum.cmsmadesimple.org/index.ph ... #msg221873
Brandt
Forum Members
Forum Members
Posts: 55
Joined: Fri Mar 05, 2010 10:04 am

Re: Multilangual Babel show=""

Post by Brandt »

No, should I do this?

Like this you mean:

{babel action="assign" show="nl_NL,en_US,de_DE,fr_FR"} in one template

and in the other template:

{babel action="assign" show="nl_BE,fr_BE"}

It doesn't work like this...
owr_bgld

Re: Multilangual Babel show=""

Post by owr_bgld »

no not like this

like I wrote -> at the beginning of your template has to be this code i wrote.

In the template put it at the beginning, like this:

Code: Select all

{babel action="assign"}
<!DOCTYPE html PUBLIC ........
Rest of the template ....................
if you take a look in the module help there is a note about putting this in your template
Post Reply

Return to “The Lounge”