ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

using {lang} in discussion forum - manipulate forum language with language switcher technique

October 29, 2007 2:38pm

Subscribe [1]
  • #1 / Oct 29, 2007 2:38pm

    Oxygen Smith

    120 posts

    Hello all,

    For a multilingual site, I have set up a language switcher as described in the EE Wiki on this page. It works really well, but I want to be able to have the language-switching controls and main navigation consistent (identical, really) across the whole site.

    The easiest way to do so would be if, on the forum templates, I were able to test the {lang} variable, ie. use a construction like {if lang="en"}, so I could present the user with a choice of main menus (one in English, one in French).

    But I don’t seem to be able to have such a construction available. Does some way of checking the lang variable exist that can help me out?

    Thanks everybody!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases