Module Talk
< Module:Lang
This is a documentation subpage for Module:Lang.
It contains usage information, categories and other content that is not part of the original module page.
This Lua module is used on approximately 1,290,000 pages, or roughly 2% of all pages.
To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
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. The module was developed to consolidate processing for
, the {{lang-??}} (most), and
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:
{{Native name}}
Data set
The data set is specified in Module:Lang/data and its included data modules:
The data set also includes supplementary data modules:
override and other non-standard data
Tracking categories
See also
MoS on foreign words:
Wikipedia:Manual of Style/Text formatting § Foreign terms

Last edited on 5 August 2021, at 07:35
Content is available under CC BY-SA 3.0 unless otherwise noted.
Privacy policy
Terms of Use
HomeRandom Nearby Log in Settings DonateAbout WikipediaDisclaimers