Page 1 of 1

Multilangual Babel show=""

Posted: Wed Jul 07, 2010 9:38 am
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

Re: Multilangual Babel show=""

Posted: Fri Aug 13, 2010 7:02 am
by Brandt
Is there nobody with any clue?

Re: Multilangual Babel show=""

Posted: Fri Aug 13, 2010 8:17 am
by owr_bgld
do you use {babel action="assign"} at the beginning of your template?

http://forum.cmsmadesimple.org/index.ph ... #msg221873

Re: Multilangual Babel show=""

Posted: Fri Aug 13, 2010 10:39 am
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...

Re: Multilangual Babel show=""

Posted: Fri Aug 13, 2010 12:08 pm
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