Jump to content

Module:Lang/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Warudo (talk | contribs) at 22:06, 29 August 2024 (Added the page to Category:Module documentation pages). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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}}, the {{lang-??}} (most), and {{Transl}} 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

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

The data set also includes supplementary data modules:

Testcases

Tracking categories

See also

MoS on foreign words: