Allows visitors to change the language of a Tiki site
Module switch_lang
This Module allows visitors to change the language of the Tiki site interface (menus, module titles, and so on.). The switch_lang2 module also provides a way to change the interface language.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:
{MODULE(module=>switch_lang, title=TITLE, flip=>y|n, nobox=>y|n, decorations=y|n)}{MODULE}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:

The list of available languages is determined by the language files currently installed in your lang directory:
Related Pages
See these pages for information that applies for all modules- Module - introduction and links to all module pages
- Module Admin - explains how to create, choose and place modules on a page or site.
- Module Parameters - description of module parameters that are available to all modules
- User modules - explains how (if the feature is active) users can choose and place their modules
- Mods Type Modules - links to modules that are installed as components
- i18n
- Switch User
- module groups_emulation
- Module switch_theme
Contributors to this page: marclaporte
,
lindon
,
ricks99
and
Xavi
.
Page last modified on Tuesday 09 February, 2010 02:34:37 UTC by marclaporte
.
Sidebar
Featured links
Last changes
Freetags editor
Sidebar
To register
To have an account at this site, please register at Tikiwiki.org
, and then use that user name and password to log in here.
