This is an easier way to call the getCanonicalName function in Module:languages/templates. Give it a language code, and it will return the canonical name.

{{langname|en}}

English

|1=
Language code.
|allow_etym=1
Allow etymology-only codes.