Module:Languages/code to canonical name/doc

From The Languages of David J. Peterson
Jump to navigation Jump to search

This module exports a table that converts a language code to its canonical name:

local lang_name = mw.loadData("Module:languages/code to canonical name")["en"] --> "English"

It covers languages in the data submodules of Module:languages, not etymology languages (Module:etymology languages/data), language families (Module:families), or scripts (Module:scripts/data).

The following errors were detected by Module:data consistency check: Lua error in package.lua at line 80: module 'Module:languages/data/3/i/extra' not found.

If JavaScript is enabled, you can update the module by pressing the button at the top of the documentation page.

See also Module:languages/canonical names.