Template:Citation Style documentation/language/doc: Difference between revisions

m (1 revision imported)
Line 11: Line 11:


==IETF language tags==
==IETF language tags==
This list contains legitimate [[IETF language tag]]s, tags that look like IETF tags but are not or are malformed, and 'codes' that are not codes.  For these reasons, cs1|2 templates do not support IETF-like tags.  When these tags are used in {{para|language}}, cs1|2 will attempt to extract the appropriate language-name from the string of characters that precede the first hyphen (if present).
This list contains legitimate [[IETF language tag]]s, tags that look like IETF tags but are not or are malformed, and 'codes' that are not codes.  cs1|2 templates support most of these IETF-like tags.


{{#invoke:cs1 documentation support|lang_lister|list=ietf}}
===IETF language tags (ISO 639-1)===
These language tags have the form <code>xx-yy...</code> where <code>xx</code> is an ISO 639-1 language tag and <code>yy...</code> is a two-or-more-character subtag that specify country, script, or other information; <code>be-x-old</code> is an exception.
{{#invoke:cs1 documentation support|lang_lister|list=ietf2}}
 
===IETF language tags (ISO 639-2, -3)===
These language tags have the form <code>xxx-yy...</code> where <code>xx</code> is an ISO 639-2, -3 language tag and <code>yy...</code> is a two-or-more-character subtag that specify country, script, or other information.
{{#invoke:cs1 documentation support|lang_lister|list=ietf3}}


==Language names==
==Language names==