Module:Lang/doc

 

This is the documentation page for Module:Lang

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 [[:Category:Lang-x templates|

  1. REDIRECT Template:Template link code]] (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: