History: Module switch_lang
Source of version: 13
Copy to clipboard
^This page ((needs review))^ ! Module switch_lang This ((Module)) allows visitors to change the language of the Tiki site interface (menus, module titles, and so on.). The ((Module switch_lang2|switch_lang2 module)) also provides a way to change the interface language. !! Parameters {PLUGINMANAGER(module=switch_lang) /} !! Usage You will see it listed at ""Admin > Modules > Assign new module > Module Name (drop down)" (__tiki-admin_modules.php__). You can assign a this ((Module)) to a lateral column (See ((Module Admin)) page if needed), or you can include it within a wiki page, using the ((PluginModule)). You can also include the module in a wiki page by using: {CODE(wrap=>1)} {MODULE(module=>switch_lang, title=TITLE, flip=>y|n, nobox=>y|n, decorations=y|n)}{MODULE} {CODE} Where: * title: The title of the module box. The default is __Language__ * flip: +This option requires that __nobox__ = __n__. * nobox: If __y__, do ''not'' draw a box around the module. The default is __n__ (a box ''will'' be drawn). +This option requires that __decorations__ = __y__. * decorations: If __n__, the __flip__ and __nobox__ options will be ignored. The default is __y__. The assigned module looks like this: {CENTER()}{img src="img/wiki_up/switch_lang.png" alt="The switch_lang module"}{CENTER} The list of available languages is determined by the language files currently installed in your __lang__ directory: :: {img src="img/wiki_up/lang_folder.png" alt="Language files in the LANG folder."} :: {include page="Module and Plugin Includes" start="startinclude1" stop="stopinclude1"} * ((i18n)) * ((Switch User)) * ((Module groups_emulation)) * ((Module switch_theme)) * http://themes.tiki.org/Template+Tricks#Display_content_conditional_to_current_language