Module:ISO 639/doc
Appearance
This is a documentation subpage for Module:ISO 639. It contains usage information, categories and other content that is not part of the original module page. |
This module depends on the following other modules: |
Some general language code functions:
language_name
[edit]Gets the English language name for a code (ISO 639-1, -2 or -3).
en
→ Englishenm
→ Middle Englishang
→ Old Englishfr
→ Frenchel
→ Greekgrc
→ Ancient Greek
Usage:
local language_name = require('Module:ISO 639')
language_name(code)
ISO_639_name
[edit]Wraps language_name
for {{ISO 639 name}} and provides error messages. Errors are tracked in Category:ISO 639 name template errors.
Usage:
local ISO_639_name = require('Module:ISO 639')._ISO_639_name
ISO_639_name({code})
ISO_639_name({code = code})
{{#invoke:ISO 639|ISO_639_name|code}}