You are here:
Foswiki
>
System Web
>
Macros
>
VarLANGUAGE
(09 Jan 2009,
ProjectContributor
)
LANGUAGE -- current user's language
Returns the language code for the language used as the current user. This is the language actually used by Foswiki (e.g. in user interface).
The language is detected from the user's browser, unless some site/web/user/session-defined setting overrides it:
If the
LANGUAGE
preference is set, it's used as user's language instead of any language detected from the browser.
Avoid defining
LANGUAGE
at a non per-user way, so each user can choose his/her preferred language.
Related:
LANGUAGES
System
Log In
or
Register
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
User Reference
BeginnersStartHere
TextFormattingRules
Macros
FormattedSearch
QuerySearch
DocumentGraphics
SkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
AdminToolsCategory
InterWikis
ManagingWebs
SiteTools
DefaultPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Webs
Home
Main
Sandbox
System
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback