Template:Uselang
Jump to navigation
Jump to search
en
Usage
Returns the language code of the user interface (defined by user preferences or selected by default on this wiki, or selected by an explicit "uselang=" query parameter specified when viewing the current page).
For now, the template uses the media wiki magic word {{USERLANGUAGE}} that has been enabled on 2026-07-04 [1].
See also
- mw:Help:Magic words#Localization variables
- {{Langcode}}, returns the language code of a translated page, instead of the language code of the user interface.
- {{LangSwitch}}, for translating the content of translated pages, don't use for translating the UI.
- {{Int}}, for translating the UI.
- Wikipedia:Meta:Template:Uselang