Jump to content

Module:Lang/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Undid revision 1251971645 by 64.114 etc (talk); temp cascade protection does not require {{cascade-protected template}};
No edit summary
Line 1: Line 1:
{{High-use|no-percent=yes}}
{{High-use|no-percent=yes}}
{{Language templates}}
{{Language templates}}
{{Lua|Module:Lang/data|Module:Lang/ISO 639 synonyms|Module:Lang/tag from name|Module:Unicode data|Module:Yesno|Module:Arguments}}
{{Lua|Module:Arguments|Module:Lang/config|Module:Lang/data|Module:Lang/ISO 639 synonyms|Module:Lang/tag from name|Module:Unicode data|Module:Yesno}}


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 {{tlx|Lang}}, the {{cl|Lang-x templates|{{tld|lang-??}}}} (most), and {{tlx|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.
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 {{tlx|Lang}}, the {{cl|Lang-x templates|{{tld|lang-??}}}} (most), and {{tlx|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.

Revision as of 10:17, 30 November 2024

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: