Template-info.svg Documentation The documentation below is transcluded from Template:Lang/doc. (edit | history)

Return language setting, auto detect based on page URL or manually set, used by other templates for l10n.


Get language code (auto detect or previously set):


It will return the 2-characters language code: en/es/it ... etc.

See also

Community content is available under CC BY-NC-SA 3.0 unless otherwise noted.