Template:ISO 639 name/doc

Usage
The template is used to resolve ISO 639-1, ISO 639-2 and ISO 639-3 codes to language names. It will trim extended language codes to just the base language, except as noted in the table below. E.g.: for Sanskrit in Latin script, is output as:

The does the same thing, but links to the language article (or a redirect to it) in the form. E.g.: produces: Alternate link labels may be specified: Both of these templates be safely substituted. Ideally, a future version will be able to detect more particular cases, like pt-BR, and output something more precise like Brazilian Portuguese.

Examples

 * gives
 * gives