Commons:Translation possible/Learn more
Shortcut: COM:TPLM català | čeština | Deutsch | English | español | Esperanto | فارسی | français | galego | עברית | hrvatski | italiano | 日本語 | 한국어 | македонски | polski | português | русский | Tiếng Việt | 中文(繁體) | 中文(简体) | +/−
How to translate an SVG file
[edit]This page explains how to translate inside labels or captions in an SVG file. You are probably here because someone tagged an image with {{Translate}}. Please note that this template and its related pages is a one-man idea. If you have questions or comments about it, please use the template discussion page.
What is SVG?
[edit]SVG is an image file format that consists of plain XML text. Therefore the text labels stored in it can be easily translated. For more information about SVG or XML, please use the links. There are Wikipedia articles in many languages.
How do I edit SVGs?
[edit]There are different ways to translate text in SVG:
- Use a graphics editor such as Inkscape. For compatibility, save the file as "Plain SVG", not "Inkscape SVG", as the latter format may introduce errors, even though it complies with the SVG specification.
- Edit the SVG file as a text file.
For editing image in any offline editor, first download the file you want to edit, open the file in the editor, translate the labels, and then save it. When finished, upload the file to Commons under a new name.
Text editing
[edit]Note that instead of using a graphics editor, you can use any text editor capable of using UTF-8. Find text to translate by searching for <text>
tags. In some cases this might be a path for more advanced users as text coordinates adjustments might be needed and some more advanced "garbage" might decrease readability of the SVG.
Preparing a file for translation
[edit]Using real text
[edit]Only real text, in the form of the SVG <text>
element, can be translated. Do not use paths in place of text.
Anchoring the text correctly
[edit]To make sure text placement "just work" in the translated versions, you should properly use the anchoring functionality of the SVG format and your editor. In most editors (including Inkscape), the function is decided by the typographic alignment option. Anchoring decides how the position of the text is specified. Anchoring to the center means the coordinates specified is the center of the text, and is used in most editors for centering.
By saying "properly use", we mean that the way you anchor it matches the actual design intentions. For example, to center some text on a pyramid, you use the centering anchor while putting the anchor point itself at the middle of the shape. To position a label for something on its right, use the "end" (right-hand-side) anchor. The "align and distribute" option in Inkscape DOES NOT change your anchoring options; it only moves the elements around.
(Yes, the "end" anchor is only on the right for left-to-right languages. A translation tool should probably invert it for RTL languages.)
Using numbers instead of labels
[edit]On images with few labels, an alternative is to have only one file with numeric labels in it and a table below, with different translations, and there is thus a single image that can be used for all languages. Image:Robal.png is a good example.
If you think this image will be better with numbers instead of translated text, you can change {{Translate}} template to {{Convert to international}} or make numbers yourself.
For instance, Image:ISS configuration sep-2006 en.svg has English labels, and a version with numeric labels Image:ISS configuration sep-2006 numbers.svg was created by replacing the labels in the English version. But it's still not fully internationalized, because title and date are still written in the image in English.
How to place new language version in Commons
[edit]When creating a translated version of an SVG file, it should be saved using the filename of the original file with an IETF langtag suffix. See Commons:File naming. For example, File:Gibraltar map-en.svg is the English version of File:Gibraltar map.svg.
For linking different versions of file one to another, use "other versions" templates like all in Category:Other_versions_templates. Copy one of them and use in your image.
Using the template creates a gallery of the different language versions:
-
català
-
Deutsch
-
English
-
English
-
English
-
español
-
français
-
italiano
-
magyar
-
Bahasa Melayu
-
polski
-
македонски
-
українська
-
עברית
-
اردو
- Disputed isthmus and land
-
English
-
español
-
español
-
español (claimed isthmus)
-
español (non Utrech territories)
-
español (reclaimed land)
-
galego
Also the template {{Derived from}} will be useful to display link to original version of your localized image.
Multiple translations within one SVG file
[edit]You can place multiple translations into one SVG file using the SVG <switch>
element. The resulting multilingual file has the advantage of sharing graphics; if the graphics are updated, then all the languages get the updated graphics. Compare to having several translated files; an update to one of the files does not propagate to the other language versions.
However, not all graphics editors can edit the text contained in the switch
element. In such cases, a graphics editor may still be used to edit the text positions and sizes (such as in Inkscape), and the SVG Translate tool at Commons can be used to add translations, and most separate text editors can be used to make changes to the texts throughout the multiple languages. Loading an SVG file with switch
translations into a graphics editor and then saving it may remove all the translations. Please note that currently multi-language translations in SVG files larger than 5MB do not render properly due to a bug.
It is advisable to give an extra margin for text contained in images with switch
elements, in order to allow for current or future languages that need more letters.
Coding
[edit]When you have a <switch>
element, its children (sub-elements) represent possible choices. The children of the switch
should have a systemLanguage
attribute that specifies the language(s).[1] SVG sequentially looks at each child; if there is a systemLanguage
attribute and it does not match, SVG moves on to the next child. If the systemLanguage
attribute matches or is not present, then SVG renders that child and does not look further. Omitting the systemLanguage
attribute from the last child will implement a default rendering.
Note: The order is important! All children following the child with the omitted systemLanguage
are ignored and have no effect!
<switch transform="translate(100,200)">
<text systemLanguage="en">Population pyramid of Russia (2010)</text>
<text systemLanguage="de">Alterspyramide von Russland (2010)</text>
<text systemLanguage="ru">Половозрастная диаграмма России (2010)</text>
<text>Population pyramid of Russia (2010)</text>
</switch>
Even if the default rendering is English, it is good practice to place an explicit systemLanguage="en"
with the same text. The language matching rules can give unexpected behavior when the file is opened in a browser configured for multiple languages. If the languages do not follow the same sequence in each switch
, then a browser may display a mix of languages. In addition, the language matching rules will change in SVG 2.0.
You can also have a systemLanguage
attribute on an element that is not a child of a switch
element. In this case the element will only be rendered if the language matches. Otherwise the element in question will not be displayed.
Currently, only a few graphical editors support language switches in SVG, so you may need to edit the SVG file with a text editor. The SVG Translate may be used if the SVG file follows specific conventions.
The different text translations will have different lengths, so the text anchor point should be chosen carefully. The text-anchor
attribute can be set to start
(left justified in most languages), middle
(centered), or end
(right justified). The text
elements default to x="0"
and y="0"
, so the switch
element can set the text anchor point with transform="translate(100,200)"
.
When rendering a multi-lingual SVG image on a MediaWiki page, the language to use can be specified using syntax like [[File:SystemLanguage.svg|lang=de]]
.
The attribute "lang" is optional; if it is missing, MediaWiki will attempt to use the wiki's default language or fallback to English ("en"
).[2]
Note: If a switch
element has an English-language clause (systemLanguage="en"
) and a default language clause (no systemLanguage
attribute), then MediaWiki will display the English-language clause.
Setting up multiple translations within one SVG file with Inkscape
[edit]Inkscape does not support the addition of language switches, but they are recognized as a "Conditional Group". Editing with text editor is required. To start using the switch element in Inkscape, the following steps are:
- Always, in a new drawing, you need to add the two tags of
<switch>...</switch>
. In a new drawing, or in a previous localized drawing, you will have to add the items (usually text to localize) between these two tags and withsystemLanguage
assigned. - In drawings that use labels and arrows, it can often happen that (depending on the language) the labels and arrows position is not the most appropriate. You can correct it, after the previous step, directly with Inkscape. But if you need to change the text or arrows of a language that is not what Inkscape has configured, you must first change the Inkscape interface. To change the language of the Inkscape interface: from the menu bar, select "Edit|Preferences..."; then in the opened window, in the second group ("Interface") change the language. You can look at the code from the last example, above (SystemLanguageArrows.svg). Note: In the examples, the ID names of the objects have been changed in order to be followed more easily.
- For the previous changes, you must be careful about the changes you make, otherwise Inkscape will not show what you want. If this is the first time you do it, first try changing the examples above. Sometimes the Inkscape XML editor ("Edit|XML Editor...") can be useful for you to find an error in your changes.
Viewing
[edit]Most browsers support viewing SVG files with switch
elements. The browser will display the languages according to the browser's default language settings. If one wants to view a different language, then change the language of the browser and restart it.
Another way of viewing the file is to upload it to File:Test.svg and select the desired language from the dropdown list.
See also
[edit]- German tutorial
- The 'switch' element W3C
- The 'systemLanguage' attribute W3C
- Example files using
<switch>
element - SVG Processing: Efficient Language Translation by Bryan Schnabel, 2009 (Multiple file (XLIFF) rather than switch element approach.)
- Category:Language-neutral
Language codes
[edit]SVG files use IETF language tags to specify languages. They are often referred to as BCP 47 language tags, but BCP 47 is the combination of IETF RFC 5646 and RFC 4647. The Wikimedia Foundation uses language identifiers that usually match IETF langtags, but there are some differences. For example, the IETF language tag als
is for Tosk Albanian, but Wikimedia uses that tag for Alemannisch (which IETF represents as gsw
). Simple English is simple
in Wikimedia but en-simple
in IETF. Please be aware of the distinction and use IETF language tags (not MediaWiki language identifiers) in SVG files.
Uses Lua: |
Code | Language name (in English) | Native language name |
---|---|---|
hak-hant | Hakka (Traditional Han script) | 客家語(繁體) |
als | Alemannisch | Alemannisch |
id | Indonesian | Bahasa Indonesia |
bdr | West Coast Bajau | Bajau Sama |
ase | American Sign Language | American sign language |
sma | Southern Sami | åarjelsaemien |
smn | Inari Sami | anarâškielâ |
gn | Guarani | Avañe'ẽ |
frp | Arpitan | arpetan |
nr | South Ndebele | isiNdebele seSewula |
knc | Central Kanuri | Yerwa Kanuri |
nan-latn-pehoeji | Minnan (Pe̍h-ōe-jī) | Bân-lâm-gú (Pe̍h-ōe-jī) |
isv-cyrl | Interslavic (Cyrillic script) | меджусловјанскы |
hak-latn | Hak-kâ-ngî (Pha̍k-fa-sṳ) | Hak-kâ-ngî (Pha̍k-fa-sṳ) |
bjn | Banjar | Banjar |
ast | Asturian | asturianu |
zh-min-nan | Minnan | Bân-lâm-gú |
lua | Luba-Lulua | ciluba |
ang | Old English | Ænglisc |
ms | Malay | Bahasa Melayu |
en-us | American English | American English |
abs | Ambonese Malay | bahasa ambon |
kge | Komering | Kumoring |
bas | Basaa | Basaa |
hak-hans | Hakka (Simplified Han script) | 客家语(简体) |
az | Azerbaijani | azərbaycanca |
gor | Gorontalo | Bahasa Hulontalo |
af | Afrikaans | Afrikaans |
ace | Acehnese | Acèh |
bkh | Bakako | Bakoko |
agq | Aghem | Aghem |
atj | Atikamekw | Atikamekw |
bkc | Baka | Baka |
ay | Aymara | Aymar aru |
bfd | Bafut | Bafut |
mui | Musi | Baso Palembang |
isv-latn | Interslavic (Latin script) | medžuslovjansky |
map-bms | Banyumasan | Basa Banyumasan |
tig | Tigre | ትግሬ |
ccp | Chakma | 𑄌𑄋𑄴𑄟𑄳𑄦 |
bax | Bamun | Bamum |
gsw | Alemannic | Alemannisch |
acf | Saint Lucian Creole | Kwéyòl Sent Lisi |
nan-latn-tailo | Minnan (Tâi-lô) | Bân-lâm-gú (Tâi-lô) |
ak | Akan | Akan |
bgc | Haryanvi | हरियाणवी |
iba | Iban | Jaku Iban |
hke | Hunde | kihunde |
rup | Aromanian | armãneashti |
bm | Bambara | bamanankan |
roa-rup | Aromanian | armãneashti |
aae | Arbëresh | Arbërisht |
ban | Balinese | Basa Bali |
ksf | Bafia | Bafia |
bug | Buginese | Basa Ugi |
nup | Nupe | Nupe |
an | Aragonese | aragonés |
btm | Batak Mandailing | Batak Mandailing |
ibb | Ibibio | ibibio |
en-gb | British English | British English |
jbo | Lojban | la .lojban. |
ny | Nyanja | Chi-Chewa |
se-no | Northern Sami (Norway) | davvisámegiella (Norgga bealde) |
br | Breton | brezhoneg |
pcm | Nigerian Pidgin | Naijá |
mi | Māori | Māori |
isu | Isu | Isu |
min | Minangkabau | Minangkabau |
etu | Ejagham | Ejagham |
bbc | Batak Toba | Batak Toba |
aln | Gheg Albanian | Gegë |
ilo | Iloko | Ilokano |
eu | Basque | euskara |
lv | Latvian | latviešu |
rmf | Finnish Kalo | kaalengo tšimb |
kai | Karekare | Karai-karai |
bew | Betawi | Betawi |
pam | Pampanga | Kapampangan |
fat | Fanti | mfantse |
nys | Nyungar | Nyunga |
lld | Ladin | Ladin |
guw | Gun | gungbe |
hil | Hiligaynon | Ilonggo |
gom-latn | Goan Konkani (Latin script) | Gõychi Konknni |
gv | Manx | Gaelg |
lad | Ladino | Ladino |
bbc-latn | Batak Toba (Latin script) | Batak Toba |
cnh | Hakha-Chin | Hakha Chin |
gcf | Guadeloupean Creole | kréyòl Gwadloup |
bkm | Kom | Kom |
nah | Nahuatl | Nāhuatl |
ku-latn | Kurdish (Latin script) | kurdî (latînî) |
ik | Inupiaq | Iñupiatun |
eml | Emiliano-Romagnolo | emiliàn e rumagnòl |
lij | Ligurian | Ligure |
kw | Cornish | kernowek |
dga | Dagaare | Dagaare |
eto | Eton | Eton |
rw | Kinyarwanda | Ikinyarwanda |
bcl | Central Bikol | Bikol Central |
co | Corsican | corsu |
mad | Madurese | Madhurâ |
ku | Kurdish | kurdî |
se | Northern Sami | davvisámegiella |
se-fi | Northern Sami (Finland) | davvisámegiella (Suoma bealde) |
bar | Bavarian | Boarisch |
mnc-latn | Manchu (Latin script) | manju gisun |
ext | Extremaduran | estremeñu |
sei | Seri | Cmique Itom |
gaa | Ga | Ga |
hrx | Hunsrik | Hunsrik |
byv | Medumba | Medumba |
ewo | Ewondo | Ewondo |
ha | Hausa | Hausa |
kj | Kuanyama | Kwanyama |
ia | Interlingua | interlingua |
krj | Kinaray-a | Kinaray-a |
kea | Kabuverdianu | kabuverdianu |
nap | Neapolitan | Napulitano |
niu | Niuean | Niuē |
lmo | Lombard | lombard |
pdc | Pennsylvania German | Deitsch |
mcp | Maka | Maka |
gag | Gagauz | Gagauz |
mua | Mundang | Mundang |
kri | Krio | Krio |
fmp | Fe'Fe' | Fe'fe |
avk | Kotava | Kotava |
sje | Pite Sami | bidumsámegiella |
dua | Duala | Duala |
li | Limburgish | Limburgs |
ki | Kikuyu | Gĩkũyũ |
frr | Northern Frisian | Nordfriisk |
dtp | Central Dusun | Kadazandusun |
arn | Mapuche | mapudungun |
ch | Chamorro | Chamoru |
nla | Ngombala | Ngombala |
nmz | Nawdm | nawdm |
wls | Wallisian | Fakaʻuvea |
ceb | Cebuano | Cebuano |
lem | Nomaande | Nomaande |
sms | Skolt Sami | nuõrttsääʹmǩiõll |
lfn | Lingua Franca Nova | Lingua Franca Nova |
de-formal | German (formal address) | Deutsch (Sie-Form) |
tum | Tumbuka | chiTumbuka |
mh | Marshallese | Ebon |
it | Italian | italiano |
srq | Sirionó | mbia cheë |
mt | Maltese | Malti |
fj | Fijian | Na Vosa Vakaviti |
olo | Livvi-Karelian | livvinkarjala |
ht | Haitian Creole | Kreyòl ayisyen |
pih | Norfuk / Pitkern | Norfuk / Pitkern |
fy | Western Frisian | Frysk |
haw | Hawaiian | Hawaiʻi |
lg | Ganda | Luganda |
kg | Kongo | Kongo |
cy | Welsh | Cymraeg |
mg | Malagasy | Malagasy |
sw | Swahili | Kiswahili |
ig | Igbo | Igbo |
lzz | Laz | Lazuri |
ann | Obolo | Obolo |
nv | Navajo | Diné bizaad |
et | Estonian | eesti |
cak | Kaqchikel | Kaqchikel |
gcr | Guianan Creole | kriyòl gwiyannen |
dag | Dagbani | dagbanli |
ff | Fula | Fulfulde |
la | Latin | Latina |
lns | Lamnso' | Lamnso |
na | Nauru | Dorerin Naoero |
kbp | Kabiye | Kabɩyɛ |
hif | Fiji Hindi | Fiji Hindi |
lus | Mizo | Mizo ţawng |
mus | Muscogee | Mvskoke |
mrh | Mara | Mara |
jut | Jutish | jysk |
zu | Zulu | isiZulu |
cho | Choctaw | Chahta anumpa |
vmw | Makhuwa | emakhuwa |
liv | Livonian | Līvõ kēļ |
nnz | Nda'Nda' | Nda'nda |
ee | Ewe | eʋegbe |
de | German | Deutsch |
cbk-zam | Chavacano | Chavacano de Zamboanga |
uz-latn | Uzbek (Latin script) | oʻzbekcha |
nds-nl | Low Saxon | Nedersaksies |
nia | Nias | Li Niha |
vmf | Main-Franconian | Mainfränkisch |
bbj | Ghomala | Ghomála |
ie | Interlingue | Interlingue |
bi | Bislama | Bislama |
uz | Uzbek | oʻzbekcha / ўзбекча |
mos | Mossi | moore |
mwl | Mirandese | Mirandés |
chn | Chinook Jargon | chinuk wawa |
es-419 | Latin American Spanish | español de América Latina |
csb | Kashubian | kaszëbsczi |
nl-informal | Dutch (informal address) | Nederlands (informeel) |
xh | Xhosa | isiXhosa |
yas | Nugunu | Nugunu |
es | Spanish | español |
hif-latn | Fiji Hindi (Latin script) | Fiji Hindi |
kus | Kusaal | Kʋsaal |
da | Danish | dansk |
gd | Scottish Gaelic | Gàidhlig |
bqz | Mka'a | Mka'a |
nge | Ngémba | Ngémba |
efi | Efik | Efịk |
egl | Emilian | Emiliàn |
igl | Igala | Igala |
yrl | Nheengatu | Nhẽẽgatú |
is | Icelandic | íslenska |
dsb | Lower Sorbian | dolnoserbski |
ga | Irish | Gaeilge |
ca | Catalan | català |
gl | Galician | galego |
kl | Kalaallisut | kalaallisut |
nl | Dutch | Nederlands |
lt | Lithuanian | lietuvių |
ltg | Latgalian | latgaļu |
se-se | Northern Sami (Sweden) | davvisámegiella (Ruoŧa bealde) |
gpe | Ghanaian Pidgin | Ghanaian Pidgin |
nov | Novial | Novial |
nb | Norwegian Bokmål | norsk bokmål |
lb | Luxembourgish | Lëtzebuergesch |
cs | Czech | čeština |
bs | Bosnian | bosanski |
fr | French | français |
hr | Croatian | hrvatski |
kr | Kanuri | kanuri |
frc | Cajun French | français cadien |
kiu | Kirmanjki | Kırmancki |
nrm | Norman | Nouormand |
sm | Samoan | Gagana Samoa |
cps | Capiznon | Capiceño |
gur | Frafra | farefare |
en | English | English |
ln | Lingala | lingála |
brh | Brahui | Bráhuí |
jv | Javanese | Jawa |
nmg | Kwasio | Kwasio |
hu-formal | Hungarian (formal address) | magyar (formal) |
cr | Cree | Nēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ |
ike-latn | Eastern Canadian (Latin script) | inuktitut |
nn | Norwegian Nynorsk | norsk nynorsk |
nnh | Ngiemboon | Ngiemboon |
sn | Shona | chiShona |
rn | Rundi | ikirundi |
fit | Tornedalen Finnish | meänkieli |
hsb | Upper Sorbian | hornjoserbsce |
en-ca | Canadian English | Canadian English |
ho | Hiri Motu | Hiri Motu |
eo | Esperanto | Esperanto |
fo | Faroese | føroyskt |
io | Ido | Ido |
fon | Fon | fɔ̀ngbè |
bto | Iriga Bicolano | Iriga Bicolano |
ses | Koyraboro Senni | Koyraboro Senni |
ker | Kera | Kera |
no | Norwegian | norsk |
to | Tongan | lea faka-Tonga |
gya | Gbaya | Gbaya |
krl | Karelian | karjal |
fkv | Kvensk | kvääni |
es-formal | Spanish (formal address) | español (formal) |
fur | Friulian | furlan |
hu | Hungarian | magyar |
smj | Lule Sami | julevsámegiella |
oc | Occitan | occitan |
tok | Toki Pona | toki pona |
nso | Northern Sotho | Sesotho sa Leboa |
kk-cn | Kazakh (China) | قازاقشا (جۇنگو) |
bo | Tibetan | བོད་ཡིག |
roa-tara | Tarantino | tarandíne |
pnt | Pontic | Ποντιακά |
rmc | Carpathian Romani | romaňi čhib |
so | Somali | Soomaaliga |
ts | Tsonga | Xitsonga |
mo | Moldovan | молдовеняскэ |
tpi | Tok Pisin | Tok Pisin |
vep | Veps | vepsän kel’ |
be-tarask | Belarusian (Taraškievica orthography) | беларуская (тарашкевіца) |
lo | Lao | ລາວ |
ko | Korean | 한국어 |
luz | Southern Luri | لئری دوٙمینی |
wes | Pidgin (Cameroon) | Pidgin (Cameroon) |
ary | Moroccan Arabic | الدارجة |
alt | Southern Altai | алтай тил |
krc | Karachay-Balkar | къарачай-малкъар |
anp | Angika | अंगिका |
lrc | Northern Luri | لۊری شومالی |
yi | Yiddish | ייִדיש |
shy-latn | Shawiya (Latin script) | tacawit |
arz | Egyptian Arabic | مصرى |
inh | Ingush | гӀалгӀай |
crh-latn | Crimean Tatar (Latin script) | qırımtatarca (Latin) |
sq | Albanian | shqip |
tn | Tswana | Setswana |
mn | Mongolian | монгол |
nds | Low German | Plattdüütsch |
ar | Arabic | العربية |
kn | Kannada | ಕನ್ನಡ |
crh | Crimean Tatar | qırımtatarca |
tru | Turoyo | Ṫuroyo |
sr | Serbian | српски / srpski |
nqo | N’Ko | ߒߞߏ |
kk-tr | Kazakh (Turkey) | qazaqşa (Türkïya) |
am | Amharic | አማርኛ |
mhr | Eastern Mari | олык марий |
got | Gothic | 𐌲𐌿𐍄𐌹𐍃𐌺 |
gom-deva | Goan Konkani (Devanagari script) | गोंयची कोंकणी |
qug | Chimborazo Highland Quichua | Runa shimi |
kk-latn | Kazakh (Latin script) | qazaqşa (latın) |
rm | Romansh | rumantsch |
or | Odia | ଓଡ଼ିଆ |
om | Oromo | Oromoo |
nod | Northern Thai | ᨣᩤᩴᨾᩮᩬᩥᨦ |
km | Khmer | ភាសាខ្មែរ |
arc | Aramaic | ܐܪܡܝܐ |
mr | Marathi | मराठी |
mni | Manipuri | ꯃꯤꯇꯩ ꯂꯣꯟ |
mnc | Manchu | manju gisun |
hsn | Xiang | 湘語 |
apc | Levantine Arabic | شامي |
crh-ro | Dobrujan Tatar | tatarşa |
ur | Urdu | اردو |
yo | Yoruba | Yorùbá |
vo | Volapük | Volapük |
ty | Tahitian | reo tahiti |
pnb | Western Punjabi | پنجابی |
new | Newari | नेपाल भाषा |
sl | Slovenian | slovenščina |
tl | Tagalog | Tagalog |
zh-tw | Chinese (Taiwan) | 中文(臺灣) |
chr | Cherokee | ᏣᎳᎩ |
zh-sg | Chinese (Singapore) | 中文(新加坡) |
pl | Polish | polski |
ml | Malayalam | മലയാളം |
sty | Siberian Tatar | себертатар |
ss | Swati | SiSwati |
vot | Votic | Vaďďa |
zh-my | Chinese (Malaysia) | 中文(马来西亚) |
zh-mo | Chinese (Macau) | 中文(澳門) |
ps | Pashto | پښتو |
os | Ossetic | ирон |
el | Greek | Ελληνικά |
ku-arab | Kurdish (Arabic script) | کوردی (عەرەبی) |
ks | Kashmiri | कॉशुर / کٲشُر |
kjp | Eastern Pwo | ဖၠုံလိက် |
zh-hans | Simplified Chinese | 中文(简体) |
dty | Doteli | डोटेली |
war | Waray | Winaray |
zgh | Standard Moroccan Tamazight | ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ |
shn | Shan | ၽႃႇသႃႇတႆး |
sh-cyrl | Serbo-Croatian (Cyrillic script) | српскохрватски (ћирилица) |
bgn | Western Balochi | روچ کپتین بلوچی |
zea | Zeelandic | Zeêuws |
yue-hans | Cantonese (Simplified Han script) | 粵语(简体) |
sd | Sindhi | سنڌي |
tt-latn | Tatar (Latin script) | tatarça |
skr-arab | Saraiki (Arabic script) | سرائیکی |
ybb | Yemba | Yemba |
yue-hant | Cantonese (Traditional Han script) | 粵語(繁體) |
xsy | Saisiyat | saisiyat |
xmf | Mingrelian | მარგალური |
nan-hani | Minnan (Han script) | 閩南語 |
tzm | Central Atlas Tamazight | ⵜⴰⵎⴰⵣⵉⵖⵜ |
wuu-hant | Wu (Traditional Han script) | 吳語(正體) |
wuu | Wu | 吴语 |
tg-cyrl | Tajik (Cyrillic script) | тоҷикӣ |
wo | Wolof | Wolof |
ru | Russian | русский |
zh-cn | Chinese (China) | 中文(中国大陆) |
te | Telugu | తెలుగు |
ryu | Okinawan | 沖縄口 |
wuu-hans | Wu (Simplified Han script) | 吴语(简体) |
ne | Nepali | नेपाली |
ota | Ottoman Turkish | لسان عثمانى |
ady | Adyghe | адыгабзэ |
bho | Bhojpuri | भोजपुरी |
vi | Vietnamese | Tiếng Việt |
vec | Venetian | vèneto |
ve | Venda | Tshivenda |
be | Belarusian | беларуская |
ce | Chechen | нохчийн |
uz-cyrl | Uzbek (Cyrillic script) | ўзбекча |
uk | Ukrainian | українська |
ug-latn | Uyghur (Latin script) | Uyghurche |
ug-arab | Uyghur (Arabic script) | ئۇيغۇرچە |
dz | Dzongkha | ཇོང་ཁ |
udm | Udmurt | удмурт |
tyv | Tuvinian | тыва дыл |
nyo | Nyoro | Orunyoro |
hz | Herero | Otsiherero |
cpx-latn | Puxian (Latin script) | Pó-sing-gṳ̂ (Báⁿ-uā-ci̍) |
mnw | Mon | ဘာသာမန် |
tw | Twi | Twi |
tvu | Tunen | Tunen |
ttj | Tooro | Orutooro |
tt-cyrl | Tatar (Cyrillic script) | татарча |
ckb | Central Kurdish | کوردی |
trv | Taroko | Seediq |
rut | Rutul | мыхаӀбишды |
pt-br | Brazilian Portuguese | português do Brasil |
vut | Vute | Vute |
loz | Lozi | Silozi |
tr | Turkish | Türkçe |
shi | Tachelhit | Taclḥit |
th | Thai | ไทย |
sdc | Sassarese Sardinian | Sassaresu |
tcy | Tulu | ತುಳು |
my | Burmese | မြန်မာဘာသာ |
yue | Cantonese | 粵語 |
za | Zhuang | Vahcuengh |
mai | Maithili | मैथिली |
ug | Uyghur | ئۇيغۇرچە / Uyghurche |
hak | Hakka Chinese | 客家語 / Hak-kâ-ngî |
sg | Sango | Sängö |
tg | Tajik | тоҷикӣ |
ojb | Northwestern Ojibwa | Ojibwemowin |
de-ch | Swiss High German | Schweizer Hochdeutsch |
ng | Ndonga | Oshiwambo |
bg | Bulgarian | български |
sv | Swedish | svenska |
hy | Armenian | հայերեն |
su | Sundanese | Sunda |
bpy | Bishnupriya | বিষ্ণুপ্রিয়া মণিপুরী |
ady-cyrl | Adyghe (Cyrillic script) | адыгабзэ |
ksh | Colognian | Ripoarisch |
tet | Tetum | tetun |
awa | Awadhi | अवधी |
ko-kp | Korean (North Korea) | 조선말 |
sh-latn | Serbo-Croatian (Latin script) | srpskohrvatski (latinica) |
sro | Campidanese Sardinian | sardu campidanesu |
szy | Sakizaya | Sakizaya |
tly | Talysh | tolışi |
srn | Sranan Tongo | Sranantongo |
arq | Algerian Arabic | جازايرية |
sr-el | Serbian (Latin script) | srpski (latinica) |
as | Assamese | অসমীয়া |
sh | Serbo-Croatian | srpskohrvatski / српскохрватски |
pwn | Paiwan | pinayuanan |
sdh | Southern Kurdish | کوردی خوارگ |
sr-ec | Serbian (Cyrillic script) | српски (ћирилица) |
bat-smg | Samogitian | žemaitėška |
vls | West Flemish | West-Vlams |
kum | Kumyk | къумукъ |
shi-tfng | Tachelhit (Tifinagh script) | ⵜⴰⵛⵍⵃⵉⵜ |
hno | Northern Hindko | ہندکو |
bh | Bhojpuri | भोजपुरी |
tg-latn | Tajik (Latin script) | tojikī |
skr | Saraiki | سرائیکی |
gom | Goan Konkani | गोंयची कोंकणी / Gõychi Konknni |
hyw | Western Armenian | Արեւմտահայերէն |
pfl | Palatine German | Pälzisch |
fi | Finnish | suomi |
simple | Simple English | Simple English |
mnc-mong | Manchu (Mongolian script) | ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ |
shy | Shawiya | tacawit |
hi | Hindi | हिन्दी |
si | Sinhala | සිංහල |
ks-deva | Kashmiri (Devanagari script) | कॉशुर |
ti | Tigrinya | ትግርኛ |
zh | Chinese | 中文 |
zh-classical | Literary Chinese | 文言 |
ka | Georgian | ქართული |
koi | Komi-Permyak | перем коми |
lzh | Literary Chinese | 文言 |
be-x-old | Belarusian (Taraškievica orthography) | беларуская (тарашкевіца) |
rue | Rusyn | русиньскый |
gan-hant | Gan (Traditional Han script) | 贛語(繁體) |
pa | Punjabi | ਪੰਜਾਬੀ |
myv | Erzya | эрзянь |
ami | Amis | Pangcah |
sgs | Samogitian | žemaitėška |
gan-hans | Gan (Simplified Han script) | 赣语(简体) |
syl | Sylheti | ꠍꠤꠟꠐꠤ |
mk | Macedonian | македонски |
kk | Kazakh | қазақша |
mdf | Moksha | мокшень |
rsk | Pannonian Rusyn | руски |
tk | Turkmen | Türkmençe |
pms | Piedmontese | Piemontèis |
ksw | S'gaw Karen | စှီၤ |
ban-bali | Balinese (Balinese script) | ᬩᬲᬩᬮᬶ |
sk | Slovak | slovenčina |
ro | Romanian | română |
kcg | Tyap | Tyap |
fiu-vro | võro | võro |
szl | Silesian | ślůnski |
bn | Bangla | বাংলা |
kk-kz | Kazakh (Kazakhstan) | қазақша (Қазақстан) |
zh-hk | Chinese (Hong Kong) | 中文(香港) |
ruq-latn | Megleno-Romanian (Latin script) | Vlăheşte |
ruq-cyrl | Megleno-Romanian (Cyrillic script) | Влахесте |
sah | Yakut | саха тыла |
rgn | Romagnol | Rumagnôl |
kab | Kabyle | Taqbaylit |
rmy | Vlax Romani | romani čhib |
zh-hant | Traditional Chinese | 中文(繁體) |
pi | Pali | पालि |
kbd | Kabardian | адыгэбзэ |
lez | Lezghian | лезги |
rif | Riffian | Tarifit |
diq | Zazaki | Zazaki |
quc | Kʼicheʼ | Qatzijob\ʼal |
lbe | Lak | лакку |
zgh-latn | Standard Moroccan Tamazight (Latin script) | tamaziɣt tanawayt |
aeb-latn | Tunisian Arabic (Latin script) | Tûnsî |
prg | Prussian | prūsiskan |
kaa | Kara-Kalpak | Qaraqalpaqsha |
cv | Chuvash | чӑвашла |
dv | Divehi | ދިވެހިބަސް |
ks-arab | Kashmiri (Arabic script) | کٲشُر |
sat | Santali | ᱥᱟᱱᱛᱟᱲᱤ |
jam | Jamaican Creole English | Patois |
grc | Ancient Greek | Ἀρχαία ἑλληνικὴ |
kk-cyrl | Kazakh (Cyrillic script) | қазақша (кирил) |
shi-latn | Tachelhit (Latin script) | Taclḥit |
kv | Komi | коми |
gan | Gan | 贛語 |
nan | Minnan | 閩南語 / Bân-lâm-gú |
sco | Scots | Scots |
ike-cans | Eastern Canadian (Aboriginal syllabics) | ᐃᓄᒃᑎᑐᑦ |
din | Dinka | Thuɔŋjäŋ |
bqi | Bakhtiari | بختیاری |
pdt | Plautdietsch | Plautdietsch |
khw | Khowar | کھوار |
kjh | Khakas | хакас |
pap-aw | Papiamento (Aruba) | Papiamento |
pap | Papiamento | Papiamentu |
kk-arab | Kazakh (Arabic script) | قازاقشا (تٴوتە) |
cdo | Mindong | 閩東語 / Mìng-dĕ̤ng-ngṳ̄ |
av | Avaric | авар |
chy | Cheyenne | Tsetsêhestâhese |
aeb-arab | Tunisian Arabic (Arabic script) | تونسي |
acm | Iraqi Arabic | عراقي |
nyn | Nyankole | runyankore |
kbd-cyrl | Kabardian (Cyrillic script) | адыгэбзэ |
bxr | Russia Buriat | буряад |
iu | Inuktitut | ᐃᓄᒃᑎᑐᑦ / inuktitut |
tdd | Tai Nuea | ᥖᥭᥰ ᥖᥬᥲ ᥑᥨᥒᥰ |
gu | Gujarati | ગુજરાતી |
pcd | Picard | Picard |
aeb | Tunisian Arabic | تونسي / Tûnsî |
crh-cyrl | Crimean Tatar (Cyrillic script) | къырымтатарджа (Кирилл) |
lki | Laki | لەکی |
azb | South Azerbaijani | تۆرکجه |
qu | Quechua | Runa Simi |
wya | Wyandot | Wyandot |
bcc | Southern Balochi | جهلسری بلوچی |
rki | Arakanese | ရခိုင် |
stq | Saterland Frisian | Seeltersk |
mag | Magahi | मगही |
pag | Pangasinan | Pangasinan |
guc | Wayuu | wayuunaiki |
nit | Southeastern Kolami | కొలామి |
de-at | Austrian German | Österreichisches Deutsch |
mcn | Massa | vùn màsànà |
mzn | Mazanderani | مازِرونی |
zh-yue | Cantonese | 粵語 |
st | Southern Sotho | Sesotho |
tt | Tatar | татарча / tatarça |
nan-hant | Minnan (Traditional Han script) | 閩南語(傳統漢字) |
tly-cyrl | Talysh (Cyrillic script) | толыши |
tay | Tayal | Tayal |
he | Hebrew | עברית |
scn | Sicilian | sicilianu |
ky | Kyrgyz | кыргызча |
sjd | Kildin Sami | кӣллт са̄мь кӣлл |
cpx-hans | Puxian (Simplified Han script) | 莆仙语(简体) |
osa-latn | Osage (Latin script) | Wažáže íe |
ta | Tamil | தமிழ் |
wa | Walloon | walon |
ruq | Megleno-Romanian | Vlăheşte |
sa | Sanskrit | संस्कृतम् |
ms-arab | Malay (Jawi script) | بهاس ملايو |
mrj | Western Mari | кырык мары |
cpx | Puxian | 莆仙語 / Pó-sing-gṳ̂ |
ja | Japanese | 日本語 |
ii | Sichuan Yi | ꆇꉙ |
fa | Persian | فارسی |
pt | Portuguese | português |
aa | Afar | Qafár af |
ba | Bashkir | башҡортса |
bag | Tuki | Tuki |
wal | Wolaytta | wolaytta |
xal | Kalmyk | хальмг |
yav | Yangben | Yangben |
gld | Nanai | на̄ни |
bci | Baoulé | wawle |
sli | Lower Silesian | Schläsch |
glk | Gilaki | گیلکی |
ab | Abkhazian | аԥсшәа |
blk | Pa'O | ပအိုဝ်ႏဘာႏသာႏ |
rwr | Marwari (India) | मारवाड़ी |
cu | Church Slavic | словѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ |
cpx-hant | Puxian (Traditional Han script) | 莆仙語(繁體) |
yat | Yambeta | Yambeta |
sju | Ume Sami | ubmejesámiengiälla |
sc | Sardinian | sardu |
nog | Nogai | ногайша |
vro | Võro | võro |
There are currently 538 supported languages (plus the language tag zxx
denoting the absence of any linguistic content).
- Note
- SVG
systemLanguage
codes must be valid BCP 47 language tags (code differences).
Support this template
[edit]You don't have to translate this part; it should be enough if this information is here in English. Users who do not yet have a version in their language will find it here, I guess.
You can support this template by translating this help page into your language and saving it as a sub-page. The template consists of three parts. For example, for the German template they are:
- The template localization page Template:Translate/de
- The help page linked from the localized template Commons:Translation possible/Mehr erfahren
- The language links list templates Template:Translate/lang and Template:Commons:Translation possible/lang for both of them
The template page should contain the template itself and the quick info text translated from the English template.
The help page (this page) in your language should be saved under the subject that you would use in your language, like "Learn more" (which I selected for English).
The language link template is the same for every version of this template. It contains all the links to existing language versions. Please add your language there and there, if you have created a new translation.
Thank you for your support!
Notes
[edit]- ↑ You can specify multiple languages separated by a comma, in case multiple languages happen to express something the same way. See MDN page for systemLanguage.
- ↑ Starting in November 2018, MediaWiki tries to use the wiki's language rather than always use "en" when the file transclusion does not specify a
lang
parameter. Consequently, the German Wikipedia (https://de.wikipedia.org) will behave as if|lang=de
were specified whensystemLanguage="de"
attributes are present in the SVG file.