Template:Language/prefix

From Valve Developer Community
Jump to: navigation, search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(台灣)‎ (zh-tw)
Icon-translate.png Available doc translations
View
Page history
Shortcut
pagelang

Returns language of the given page in lowercase based on prefix. Returns en on pages that don't start with valid language prefix.

  • {{pagelang}} on Ru/Info_target becomes ru
  • {{pagelang}} on Sk/Info_target becomes sk
  • {{pagelang}} on Dota_2_Workshop_Tools/Addon_Overview/Addon_Creation becomes en
  • {{pagelang}} on Ko/Dota_2_Workshop_Tools/Addon_Overview/Addon_Creation becomes ko

See Also