This module exports a table that converts the canonical name of a language to the corresponding code:

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

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:

Module:languages/canonical names

  • The canonical name Min Dong (cdo) is missing.
  • Eastern Min, the canonical name for the code cdo, is wrong; it should be Min Dong.
  • The canonical name Puxian (cpx) is missing.
  • Puxian Min, the canonical name for the code cpx, is wrong; it should be Puxian.
  • Central Min, the canonical name for the code czo, is wrong; it should be Min Zhong.
  • The canonical name Min Zhong (czo) is missing.
  • The canonical name Khanty (kca) is missing.
  • The canonical name Tasmanian (xtz) is missing.

Module:languages/code to canonical name

  • Eastern Min, the canonical name for the code cdo, is wrong; it should be Min Dong.
  • Puxian Min, the canonical name for the code cpx, is wrong; it should be Puxian.
  • Central Min, the canonical name for the code czo, is wrong; it should be Min Zhong.
  • The code kca (Khanty) is missing.
  • The code xtz (Tasmanian) is missing.

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

See also Module:languages/code to canonical name.


"https://si.wiktionary.org/w/index.php?title=Module:languages/canonical_names/documentation&oldid=35001" වෙතින් සම්ප්‍රවේශනය කෙරිණි