Meta:Babel

From Meta, a Wikimedia project coordination wiki
(Redirected from Babel)
Jump to navigation Jump to search
 ← Index of discussion pages Babel archives (latest) →
This is the general discussion forum for Meta (this wiki). Before you post a new comment please note the following:
  • You can comment here in any language.
  • This forum is primarily for discussion of Meta policies and guidelines, and other matters that affect more than one page of the wiki.
  • If your comment only relates to a single page, please post it on the corresponding discussion page (if necessary, you can provide a link and short description here).
  • For notices and discussions related to multilingualism and translation, see Meta:Babylon and its discussion page.
  • For information about how to indicate your language abilities on your user page ("Babel templates"), see User language.
  • To discuss Wikimedia in general, please use the Wikimedia Forum.
  • Consider whether your question or comment would be better addressed at one of the major Wikimedia "content projects" instead of here.
Wikimedia Meta-Wiki
This box: view · talk · edit
Filing cabinet icon.svg
SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day and sections whose most recent comment is older than 30 days.

Language of user[edit]

Hello,

For my user page, I want a variable that is the code of the language of the user, but y have only {{CUONTENTLANGUAGE}, that is the default language of the wiki, but I want the favourite language of the user. Do you know a variable ?

Thanks & Sincerely, Aabbccddeeffabcdef (talk), the 08:43, 29 April 2019 (UTC).

Hello @Aabbccddeeffabcdef: {{LangSwitch}}. Example:
{{LangSwitch | en =I was born in [[en:1973|1973]], as [[en:Larry Page|Larry Page]]. | fr =Je suis né en [[fr:1973|1973]], comme [[fr:Larry Page|Larry Page]]. }}
Watch my Page. Regards. --Eihel (talk) 08:50, 29 April 2019 (UTC)
Good morning Eihel,
Thank you for the code.
Sincerely, Aabbccddeeffabcdef (talk), the 08:53, 29 April 2019 (UTC).
Example more concrete Aabbccddeeffabcdef: Template:User_Small_Wiki_Monitoring_Team, with many translations. Can be used with {{#switch:{{int:lang}} ||||}}. Pages on other wikis are better documented (Media, enwiki, etc.). --Eihel (talk) 09:03, 29 April 2019 (UTC)