Module:Flags/LocaleData
Use in non-English projects
Non-English projects must copy this module together with Template:Flags, Module:Flags and Module:Flags/MasterData, and then add the corresponding translations.
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 Module:Flags/MasterData please request / contribute them there instead of listing them here only, for the benefit of all projects.
Thank you for using Template:Flags!
-- Instructions for translators can be found at the /doc page.
-- You don't want to touch this. :)
local m = {}
m.fullName = {}
-- Examples for demo purposes. Remove them when you copy this module to your project.
m.fullName["China"] = "中華人民共和國"
m.fullName["United Kingdom"] = "Regne Unit"
m.fullName["the Balearic Islands"] = "Illes Balears"
m.fullName["Native Peoples of Colombia"] = "Pueblos Indígenas de Colombia"
-- Structure of the table:
-- 1. Full names
-- 1.1 International organizations
-- 1.2 All territories ISO 3166-1
-- 1.3 All ISO 3166-1 variants and ISO 3166-2 subdivisions
-- 1.4 Other territories not fitting above
-- 1.5 Other flags supported and not fitting above
-- 2. Local 2 letter codes
-- 3. Local 3 letter codes
-- 1. FULL NAMES
-- 1.1 INTERNATIONAL ORGANIZATIONS
-- 1.3 ALL TERRITORIES ISO 3166-1
-- For the list of territories see http://en.wikipedia.org/wiki/ISO_3166-1
-- 1.3 All ISO 3166-1 VARIANTS AND ISO 3166-2 SUBDIVISIONS
-- For the subdivisions see http://en.wikipedia.org/wiki/ISO_3166-2
-- For the subdivisions and variants see http://en.wikipedia.org/wiki/Category:Country_data_templates
-- 1.4 OTHER TERRITORIES NOT FITTING ABOVE
-- 1.5 OTHER FLAGS SUPPORTED NOT FITTING ABOVE
-- 2. LOCAL 2 LETTER CODES
-- Not recommended! Too easy to clash with other ISO codes.
-- 3. LOCAL 3 LETTER CODES
-- Be careful not clashing with ISO codes.
-- You don't want to touch this either!
return m
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.