Tags:
tag this topic
create new tag
view all tags
#VarLANGUAGES ---+++ LANGUAGES -- list available TWiki languages * List the languages available (as =PO= files) to TWiki. Those are the languages in which TWiki's user interface is available. * Syntax: =%<nop>LANGUAGES{...}%= * Supported parameters: | *Parameter:* | *Description:* | *Default:* | | =format= | format for each item. See below for variables available in the format string. | =" * $langname"= | | =separator= | separator between items. | ="\n"= (newline) | | =marker="selected"= | Text for =$marker= if the item matches =selection= | ="selected"= | | =selection="%<nop>LANGUAGE%"= | Current language to be selected in list | =(none)= | * =format= variables: | *Variable* | *Meaning* | | =$langname= | language's name, as informed by the translators | | =$langtag= | language's tag. Ex: =en=, =pt-br=, etc. | * Category: AdministrationVariables, SystemInformationVariables * Example: =<select>%<nop>LANGUAGES{format="<option $marker value='$langtag'>$langname</option>" selection="%<nop>LANGUAGE%"}%</select>= creates an option list of the available languages with the current language selected
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r3 - 2012-11-14
-
TWikiContributor
Home
Site map
Main web
Sandbox web
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
E
dit
A
ttach
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarLANGUAGES
.