Fullscreen
[Show/Hide Right Column]



To handle multilingual menus, there are several options.

Module displayed only for a language

Add a menu to a module and filter module by language

Use language files to translate labels

You can use the standard string translation process
  • set your menu option name in admin-> menu in English
  • set the user module title in the admin -> modules panel in English
  • add in lang/your_language/language.php, the list on translations

But the URLs will not be translated. English should be the reference language, the same way it is the Smarty templates.

Check language and show alternate menu

Here is an example, to be added to Site Identity
{if $prefs.language eq "en"}
{menu id=43 css=y type=horiz}
{else}    
{menu id=1 css=y type=horiz}
{/if}



Contributors to this page: Gary Cunningham-Lee1539 points  and Marc Laporte9138 points  .
Page last modified on Friday 15 October, 2010 03:48:21 UTC by Gary Cunningham-Lee1539 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki