Module:Flags/LocaleData/doc: Difference between revisions
Appearance
Content deleted Content added
Moving from FlagMaster |
|||
Line 7: | Line 7: | ||
Format of entries: |
Format of entries: |
||
<code>[" |
<code>m.fullName["Your Translation"] = "Name of flag in Commons"</code> |
||
Example: |
|||
* Some "english" labels have been modified to match the flag names in Commons. |
|||
⚫ | |||
* Edit the "locale" labels only when they differ from "english". |
|||
* Flag icons link to the article about "locale", or fallback to "english" if it's empty. |
|||
<code>m.fullName["Illes Balears"] = "the Balearic Islands"</code> |
|||
The flags supported by this table of translations are shown below. |
|||
* Translate the field in the left to your language. |
|||
* Note that the translated string will also be the link to the article. |
|||
* Sounds obvious, but you only need to add here the flags with names different than the ones in English. |
|||
⚫ | |||
If you are missing flags in [[Sandbox/QuimGil/FlagMaster]] please request / contribute them there instead of listing them here only, for the benefit of all projects. |
|||
Thank you for using [[Template:Flags]]! |
Revision as of 03:48, 25 June 2013
Use in non-English projects
Non-English projects must copy this table and add the corresponding translations in the right column. This is a manual task, but perhaps one day these translations can be provided automatically by Wikidata. See bug 47930.
Table of flags
Format of entries:
m.fullName["Your Translation"] = "Name of flag in Commons"
Example:
m.fullName["Illes Balears"] = "the Balearic Islands"
- Translate the field in the left to your language.
- Note that the translated string will also be the link to the article.
- Sounds obvious, but you only need to add here the flags with names different than the ones in English.
- Don't touch the field in the right (name of flag in Commons) unless you really know what you are doing!
If you are missing flags in Sandbox/QuimGil/FlagMaster please request / contribute them there instead of listing them here only, for the benefit of all projects.
Thank you for using Template:Flags!