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. Always substitute it, as shown below.

{{subst:langname|en}}

English

Parameters

baguhon
|1=
language code