ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Template:Lang: Difference between revisions
Jump to navigation
Jump to search
m debug |
m Additions |
||
Line 4: | Line 4: | ||
-->|en|eng=English|ja|jpn=Japanese|ru|rus=Russian|es|spa=Spanish|pt|por=Portuguese|la|lat=Latin|grc=Ancient Greek (to 1453)|ar|ara=Arabic<!-- | -->|en|eng=English|ja|jpn=Japanese|ru|rus=Russian|es|spa=Spanish|pt|por=Portuguese|la|lat=Latin|grc=Ancient Greek (to 1453)|ar|ara=Arabic<!-- | ||
-->|ko|kor=Korean|za|zha=Chuang|bo|bod=Tibetan|mn|mon=Mongolian|ug|uig=Uyghur|yue=Yue Chinese (Cantonese)|th|tha=Thai|hi|hin=Hindi|id|ind=Indonesian<!-- | -->|ko|kor=Korean|za|zha=Chuang|bo|bod=Tibetan|mn|mon=Mongolian|ug|uig=Uyghur|yue=Yue Chinese (Cantonese)|th|tha=Thai|hi|hin=Hindi|id|ind=Indonesian<!-- | ||
-->|fr|fra=French|de|deu=German|it|ita=Italian|pl|pol=Polish|uk|ukr=Ukrainian|tr|tur=Turkish|el|ell=Greek|sr|srp=Serbian|da|dan=Danish<!-- | -->|fr|fra=French|de|deu=German|it|ita=Italian|pl|pol=Polish|uk|ukr=Ukrainian|tr|tur=Turkish|el|ell=Greek|sr|srp=Serbian|da|dan=Danish|sa|san=Sanskrit<!-- | ||
-->|kr=Kanuri|#default={{#language:{{lc:{{{1}}}}}|en}}}}"}}>{{#switch:{{lc:{{{1|}}}}} | -->|kr=Kanuri|#default={{#language:{{lc:{{{1}}}}}|en}}}}"}}>{{#switch:{{lc:{{{1|}}}}} | ||
|zh|gan|zh-yue = {{{2}}} | |zh|gan|zh-yue = {{{2}}} |
Latest revision as of 10:16, 11 September 2021
{{{2}}}
This document transclude from Template:Lang/doc.
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 |