Jump to content

မေႃႇၵျူး:Babel/data/doc

လုၵ်ႉတီႈ ဝိၵ်ႇသျိၼ်ႇၼရီႇ မႃး

This is the documentation page for မေႃႇၵျူး:Babel/data

This module and its subpages contain data used by Module:Babel.

To add a new language, navigate to one of the subpages below, based on the first letter of the language code you are adding. There, you can add a message like this:

["en-1"] = "This user is able to contribute with a '''[[$1|basic]]''' level of '''[[$2|English]]'''.",

The output will look like this, when en-1 is used:

en-1ၽူႈၸႂ်ႉတိုဝ်းၵေႃႉၼႆႉ လၢတ်ႈၵႂၢမ်း ဢိင်းၵလဵတ်ႈ ၸၼ်ႉ ပိုၼ်ႉထၢၼ်

Parts of a message

[မႄးထတ်း]
  • ["..."]: The language code and proficiency level. The language code should generally be a WT:LOL or WT:LOLS code, but custom codes can be added below in the table custom_codes. The proficiency level can be one of these:
    0, "cannot speak"
    1, "can speak at a basic level"
    2, "at an intermediate level"
    3, "at an advanced level"
    4, "at a near-native level"
    5, "at a professional level"
    N, "speaks natively"
  • [[$1|...]]: The link to the category for the level of proficiency; e.g., [[$1|basic]] above outputs [[:Category:User en-1|basic]]. Messages for having no proficiency in a language, like en-0, should not have these.
  • [[$2|...]]: The link to the category for all users who have listed the language at any proficiency; e.g., [[$2|English]] above outputs [[:Category:User en|English]].
  • {masculine/feminine(/neutral)}: Optionally, a gender switch. For example, to switch between Spanish este usuario, esta usuaria, and esta persona, you can add {este usuario/esta usuaria/esta persona}, or {cet utilisateur/cette utilisatrice}, in the case of French.

Examples for each proficiency

[မႄးထတ်း]
-------------------------- en --------------------------
["en-0"] = "This user '''does not understand [[$2|English]]''' (or understands it with considerable difficulty).",
["en-1"] = "This user is able to contribute with a '''[[$1|basic]]''' level of '''[[$2|English]]'''.", 
["en-2"] = "This user is able to contribute with an '''[[$1|intermediate]]''' level of '''[[$2|English]]'''.", 
["en-3"] = "This user is able to contribute with an '''[[$1|advanced]]''' level of '''[[$2|English]]'''.", 
["en-4"] = "This user speaks '''[[$2|English]]''' at a '''[[$1|near-native]]''' level.",
["en-5"] = "This user speaks '''[[$2|English]]''' at a '''[[$1|professional]]''' level.",
["en-N"] = "This user is a '''[[$1|native]]''' speaker of '''[[$2|English]]'''.",