Module:Lang/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Namoroka at 17:36, 20 December 2025. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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. The module was developed to consolidate processing for {{lang}}, {{langx}}, and {{transliteration}} templates into a single source and to use a clearly defined data set extracted from international standards. It provides error checking and reporting to ensure that the HTML rendered is correct for browsers and screen readers.

Other templates that get language name support from this module are:

Data set

[edit source]

The data set is specified in Module:Lang/data and its included data modules:

The data set also includes supplementary data modules:

Testcases

[edit source]

Tracking categories

[edit source]

See also

[edit source]

MoS on foreign words: