Template:Lang/Documentation: Difference between revisions

no edit summary
No edit summary
 
Line 3: Line 3:
This template is to be used for marking text as another language. See the [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry IANA subtag registry] for language codes.
This template is to be used for marking text as another language. See the [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry IANA subtag registry] for language codes.


This is most important for Japanese kanji (<code>ja</code>), Traditional Chinese (<code>zh-Hant</code>), and Simplified Chinese (<code>zh-Hans</code>) so that a correct font is used, as some characters look different between the three but have the same Unicode code point. Marking it for other languages does have benefits for screenreaders, however.
This is most important for Japanese kanji (<code>ja</code>), Traditional Chinese (<code>zh-Hant</code>), and Simplified Chinese (<code>zh-Hans</code>), and Korean hanja (<code>ko</code>) so that a correct font is used, as some characters look different between the four but have the same Unicode code point. Marking it for other languages does have benefits for screenreaders, however.
<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>[[Category:Text Formatting Templates]]</includeonly>
<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>[[Category:Text Formatting Templates]]</includeonly>