Module:Lang/doc
This is a documentation subpage for Module:Lang (see that page for the module itself). It contains usage information, categories and other content that is not part of the original module page. |
This module depends on the following other modules: |
This module exists primarily to provide correct html markup for non–English language text where that text is used in the English Wikipedia. It has a secondary purpose of providing correct visual rendering for this non-English text. It provides error checking and reporting to ensure that the html rendered is correct for browsers and screen readers.
Data set[edit]
The data set is specified in Module:Lang/data and its included data modules:
- language tag-and-name data
- language script data
- Module:Language/data/iana scripts – from IANA language-subtag-registry file
- language region data
- Module:Language/data/iana regions – from IANA language-subtag-registry file
- language variant data
- Module:Language/data/iana variants – from IANA language-subtag-registry file
- suppressed-script data
- Module:Language/data/iana suppressed scripts – from IANA language-subtag-registry file
The data set also includes supplementary data modules:
- override and other non-standard data
- Module:Lang/ISO 639 synonyms – maps three character ISO 639-2, -2T, -3 codes to two character ISO 639-1 codes – from Codes for the Representation of Names of Languages
- Module:Lang/tag from name – reversed language tag-and-name data so that the language name is the key and the language tag is the value
Tracking categories[edit]
- Category:Lang and lang-xx template errors (0)
- Category:Transliteration template errors (0)
- Category:Lang and lang-xx code promoted to ISO 639-1 (0)
- Category:Lang and lang-xx using deprecated ISO 639 codes (0)