You are here:
BACCHUS Wiki
>
System Web
>
Macros
>
VarLANGUAGE
(revision 1) (raw view)
#VarLANGUAGE ---+++ LANGUAGE -- language code for the current user * Returns the language code for the current user. This is the language used by Foswiki to generate the user interface. * The language is detected from the user's browser, unless some site/web/user/session-defined preference setting overrides it: * If a =LANGUAGE= preference is explicitly set, this will be used as the user language instead of any language detected from the browser. * %X% Avoid defining =LANGUAGE= in a non- per-user way, otherwise users will not be able to choose their preferred language. * Do not confuse =LANGUAGE= with [[VarLANG][LANG]] * Syntax: =%<nop>LANGUAGE%= * Expands to: %LANGUAGE% * Related: [[%IF{"'%INCLUDINGTOPIC%'='Macros'" then="#"}%VarLANGUAGES][LANGUAGES]]
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 07 Jan 2009,
ProjectContributor
System
Log In
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
Copyright &© by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding BACCHUS Wiki?
Send feedback