ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Template:Lang/doc: Difference between revisions
Jump to navigation
Jump to search
m debug |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
{| class="wikitable" style="text-align:center" | {| class="wikitable" style="text-align:center" | ||
!width="20%"| Language (or sub-language) | !width="20%"| Language (or sub-language) | ||
!width="20%"| Chinese | !width="20%"| Simplified Chinese | ||
!width="20%"| Chinese | !width="20%"| Traditional Chinese | ||
!width="20%"| Japanese | !width="20%"| Japanese | ||
!width="20%"| Korean | !width="20%"| Korean | ||
Line 22: | Line 22: | ||
==Meaning of the template== | ==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. | 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. | ||
* If you see that the glyphs of the same line of words in the following example are exactly the same, your browser version might be too old. Or the default font compatibility of the website is poor. | |||
{| class="wikitable" style="text-align:center" | {| class="wikitable" style="text-align:center" | ||
!width="20%"| General meaning of the character | !width="20%"| General meaning of the character | ||
!width="20%"| Chinese | !width="20%"| Simplified Chinese (Mainland China) | ||
!width="20%"| Chinese | !width="20%"| Traditional Chinese (Taiwan) | ||
!width="20%"| Japanese | !width="20%"| Japanese | ||
!width="20%"| Korean | !width="20%"| Korean | ||
Line 35: | Line 36: | ||
| [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== | |||
*<span style="color: #C00000;">'''ATTENTION''': ISO 639-3 is incompatible with some fonts, please use it with caution.</span> | |||
<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 | |||
|- | |||
| Sanskrit || sa || san | |||
|} | |||
{| 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> |
Latest revision as of 10:22, 11 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) | Simplified Chinese | Traditional Chinese | 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.
- If you see that the glyphs of the same line of words in the following example are exactly the same, your browser version might be too old. Or the default font compatibility of the website is poor.
General meaning of the character | Simplified Chinese (Mainland China) | Traditional Chinese (Taiwan) | Japanese | Korean |
---|---|---|---|---|
bone | 骨 | 骨 | 骨 | 骨 |
send | 送 | 送 | 送 | 送 |
shine | 耀 | 耀 | 耀 | 耀 |
Common language code list
- ATTENTION: ISO 639-3 is incompatible with some fonts, please use it with caution.
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 |
Sanskrit | sa | san |
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 |