The {link_locale} TAG creates the URL to switch the Session language.

-> Since BIGACE 2.5.


  • locale - (required, string) The locale to switch to. For example "en" or "de".

  • id - (optional, string) The Menu ID to redirect to after switching the language.


This example shows a link to switch the language between German and English.

   `<title>`Session language switch - Example`</title>`
  {if $MENU->getLanguageID() == "en"}
    `<a href="{link_locale locale="de"}">`Show in Germany`</a>`
    `<a href="{link_locale locale="en"}">`Show in English`</a>`