Template:Lang/doc: Difference between revisions
Appearance
en>桂月August m debug |
en>桂月August language code list |
||
| Line 35: | Line 35: | ||
| [https://hanziyuan.net/#耀 shine] ||{{Lang|zh-CN|耀}} || {{Lang|zh-TW|耀}} || {{Lang|ja|耀}} || {{Lang|ko|耀}} | | [https://hanziyuan.net/#耀 shine] ||{{Lang|zh-CN|耀}} || {{Lang|zh-TW|耀}} || {{Lang|ja|耀}} || {{Lang|ko|耀}} | ||
|} | |} | ||
==Common language code list== | |||
<div style="display:flex;"> | |||
{| class="wikitable" style="text-align: center;" | |||
!width="50%" rowspan="2"| Names of languages and their variants | |||
!width="50%" colspan="2"| Language code | |||
|- | |||
! ISO 639-1 !! ISO 639-3 | |||
|- | |||
| Russian || ru || rus | |||
|- | |||
| Spanish || es || spa | |||
|- | |||
| Portuguese || pt || por | |||
|- | |||
| French || fr || fra | |||
|- | |||
| German || de || deu | |||
|- | |||
| Italian || it || ita | |||
|- | |||
| Polish || pl || pol | |||
|- | |||
| Ukrainian || uk || ukr | |||
|- | |||
| Turkish || tr || tur | |||
|- | |||
| Serbian || sr || srp | |||
|- | |||
| Danish || da || dan | |||
|- | |||
| Greek || el || ell | |||
|- | |||
| Ancient Greek (to 1453) || - || grc | |||
|- | |||
| Latin || la || lat | |||
|} | |||
{| class="wikitable" style="text-align: center;" | |||
!width="50%" rowspan="2"| Names of languages and their variants | |||
!width="50%" colspan="2"| Language code | |||
|- | |||
! ISO 639-1 !! ISO 639-3 | |||
|- | |||
| Chinese || zh || zho | |||
|- | |||
| Simplified Chinese || zh-Hans || zho-Hans | |||
|- | |||
| Traditional Chinese || zh-Hant || zho-Hant | |||
|- | |||
| English || en || eng | |||
|- | |||
| Chuang (Zhuang) || za || zha | |||
|- | |||
| Tibetan || bo || bod | |||
|- | |||
| Mongolian || mn || mon | |||
|- | |||
| Uyghur || ug || uig | |||
|- | |||
| Yue Chinese (Cantonese) || - || yue | |||
|- | |||
| Korean || ko || kor | |||
|- | |||
| Japanese || ja || jpn | |||
|- | |||
| Thai || th || tha | |||
|- | |||
| Arabic || ar || ara | |||
|- | |||
| Hindi || hi || hin | |||
|- | |||
| Indonesian || id || ind | |||
|} | |||
</div> | |||
Revision as of 20:18, 4 September 2021
This Template use for modifing the font of non-English languages.
Usage
{{lang|Language Code|Contents}}
- You can go to Wikipedia or SIL International to search for the code of the language if you don't know it.
Example
| Language (or sub-language) | Chinese Simplify | Chinese Traditional | Japanese | Korean |
|---|---|---|---|---|
| Code | {{lang|zh-Hans|骨}} |
{{lang|zh-Hant|骨}} |
{{lang|ja|骨}} |
{{lang|ko|骨}}
|
| Result | 骨 | 骨 | 骨 | 骨 |
Meaning of the template
The same word or character has different fonts in different countries and regions. Expecially in Chinese character culture circle of East Asia for the following example.
| General meaning of the character | Chinese Simplify (Mainland China) | Chinese Traditional (Taiwan) | Japanese | Korean |
|---|---|---|---|---|
| bone | 骨 | 骨 | 骨 | 骨 |
| send | 送 | 送 | 送 | 送 |
| shine | 耀 | 耀 | 耀 | 耀 |
Common language code list
| Names of languages and their variants | Language code | |
|---|---|---|
| ISO 639-1 | ISO 639-3 | |
| Russian | ru | rus |
| Spanish | es | spa |
| Portuguese | pt | por |
| French | fr | fra |
| German | de | deu |
| Italian | it | ita |
| Polish | pl | pol |
| Ukrainian | uk | ukr |
| Turkish | tr | tur |
| Serbian | sr | srp |
| Danish | da | dan |
| Greek | el | ell |
| Ancient Greek (to 1453) | - | grc |
| Latin | la | lat |
| Names of languages and their variants | Language code | |
|---|---|---|
| ISO 639-1 | ISO 639-3 | |
| Chinese | zh | zho |
| Simplified Chinese | zh-Hans | zho-Hans |
| Traditional Chinese | zh-Hant | zho-Hant |
| English | en | eng |
| Chuang (Zhuang) | za | zha |
| Tibetan | bo | bod |
| Mongolian | mn | mon |
| Uyghur | ug | uig |
| Yue Chinese (Cantonese) | - | yue |
| Korean | ko | kor |
| Japanese | ja | jpn |
| Thai | th | tha |
| Arabic | ar | ara |
| Hindi | hi | hin |
| Indonesian | id | ind |