This is the documentation page for Модул:languages/canonical names

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")["Tajik"] --> "tg"

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 Модул:languages at line 1278: attempt to index field 'type' (a nil value).

Агар JavaScript фаъол бошад, шумо метавонед модулро бо пахш кардани тугма дар болои саҳифаи ҳуҷҷатгузорӣ навсозӣ кунед.

Ҳамчунин нигаред Module:languages/code to canonical name.