Movatterモバイル変換


[0]ホーム

URL:


Jump to content
Wikimedia Commons
Search

Commons:Translation possible/Learn more

From Wikimedia Commons, the free media repository
<Commons:Translation possible

Shortcut:COM:TPLMcatalà |č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]
Further information:Help:Translation tutorial andCommons:Graphic Lab/Translations

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 thetemplate discussion page.

What is SVG?

[edit]

SVG is an image file format that consists of plainXML 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 powerful are SVGs

[edit]
  • SVGs produce nice images you can zoom in, with a high level of precision and without losing definition:
  • SVGs can hold different text translations within the same file; the following images use the same image file, but the text depends on the context. The first image uses the language of the page dynamically. The second image is forced to display its text in English (of course, there is no difference with the first image if the page is already in English). The remaining images additionally show examples in French and German, respectively (using the same image file):

How do I edit SVGs?

[edit]

There are different ways to translate text in SVG:

  • Use a graphics editor such asInkscape. For compatibility, save the file as "Plain SVG", not "Inkscape SVG", as the latter format may introduce errors, even though it complies with theSVG 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 useany text editor capable of usingUTF-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]
Main gallery:Template:Path text SVG.

Only real text, in the form of the SVG<text> element, can be translated. Do not use paths instead of text when creating or generating a SVG (with some justified exceptions).

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 thetypographic 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.)

Multiple translations within one SVG file (preferred method)

[edit]

Shortcut
An example of a simple SVG with translations in one file. Go to file's page and render this text in English, German, French, Spanish...
An example of a simple SVG with translations in one file. See the description page for details
Similar example with arrows

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 theswitch element. In such cases, a graphics editor may still be used to edit the text positions and sizes (such as inInkscape), andthe 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 withswitch translations into a graphics editor and then saving it may remove all the translations. Please note that multi-language translations in SVG files larger than 5MB may not render properly due to abug.

It is advisable to give an extra margin for text contained in images withswitch 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 theswitch should have asystemLanguage attribute that specifies the language(s).[1] SVG sequentially looks at each child; if there is asystemLanguage attribute and it does not match, SVG moves on to the next child. If thesystemLanguage attribute matches or is not present, then SVG renders that child and does not look further. Omitting thesystemLanguage attribute from the last child will implement a default rendering.

Note: The order is important! All children following the child with the omittedsystemLanguage are ignored and have no effect!

<switchtransform="translate(100,200)"><textsystemLanguage="en">PopulationpyramidofRussia(2010)</text><textsystemLanguage="de">AlterspyramidevonRussland(2010)</text><textsystemLanguage="ru">ПоловозрастнаядиаграммаРоссии(2010)</text><text>PopulationpyramidofRussia(2010)</text></switch>

Even if the default rendering is English, it is good practice to place an explicitsystemLanguage="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 eachswitch, 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 asystemLanguage attribute on an element that is not a child of aswitch 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. TheSVG 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. Thetext-anchor attribute can be set tostart (left justified in most languages),middle (centered), orend (right justified). Thetext elements default tox="0" andy="0", so theswitch element can set the text anchor point withtransform="translate(100,200)".

CSS can be added to globally scale text for verbose or concise translations,[2] such as:[3]

<styletype="text/css">text[systemLanguage="es"i]{font-size:80%;}text[systemLanguage="zh"i]{font-size:125%;}</style>

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").[4]

Note: If aswitch element has an English-language clause (systemLanguage="en")and a default language clause (nosystemLanguage 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 withtext editor is required. To start using the switch element in Inkscape, the following steps are:

  1. 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.
  2. 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.
  3. 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 withswitch 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 toFile:Test.svg and select the desired language from the dropdown list.

How to place new monolingual 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. SeeCommons:File naming. For example,File:Gibraltar map-en.svg is the English version ofFile:Gibraltar map.svg.

For linking different versions of file one to another, use "other versions" templates like all inCategory:Other versions templates. Copy one of them and use in your image.

Using the template creates a gallery of the different language versions:

[edit]
  • català
    català
  • Deutsch
    Deutsch
  • English
    English
  • English
    English
  • English
    English
  • español
    español
  • français
    français
  • italiano
    italiano
  • magyar
    magyar
  • Bahasa Melayu
    Bahasa Melayu
  • polski
    polski
  • македонски
    македонски
  • українська
    українська
  • עברית
    עברית
  • اردو
    اردو
Disputed isthmus and land
  • English
    English
  • español
    español
  • español
    español
  • español (claimed isthmus)
    español(claimed isthmus)
  • español (non Utrech territories)
    español(non Utrech territories)
  • español (reclaimed land)
    español(reclaimed land)
  • galego
    galego

Also the template{{Derived from}} will be useful to display link to original version of your localized image.

Language codes

[edit]

SVG files useIETF language tags to specify languages. They are often referred to as BCP 47 language tags, but BCP 47 is the combination of IETFRFC 5646 andRFC 4647. The Wikimedia Foundation uses language identifiers that usually match IETF langtags, but there are some differences. For example, the IETF language tagals is for Tosk Albanian, but Wikimedia uses that tag for Alemannisch (which IETF represents asgsw). Simple English issimple in Wikimedia buten-simple in IETF. Please be aware of the distinction and use IETF language tags (not MediaWiki language identifiers) in SVG files.

Click here to show a list of all WikiMedia language codes supported:
UsesLua:
List of languages supported on Wikimedia Commons.
CodeLanguage name (in English)Native language name
aigAntiguan and Barbudan Creole EnglishAanteegan an' Baabyuudan
abrAbronAbron
kajJjuJju
sasSasakSasak
yuaYucatec Mayamaaya t’aan
hoc-latnHo (Latin script)Ho
dlgDolganдолган тыла
jv-javaJavanese (Javanese script)ꦗꦮ
bolBolebòo pìkkà
smaSouthern Samiåarjelsaemien
aceAcehneseAcèh
angOld EnglishÆnglisc
afAfrikaansAfrikaans
agqAghemAghem
akAkanAkan
gswAlemannicAlemannisch
alsAlemannicAlemannisch
en-usAmerican EnglishAmerican English
aseAmerican Sign LanguageAmerican sign language
anAragonesearagonés
smnInari Samianarâškielâ
aaeArbëreshArbërisht
rupAromanianarmãneashti
roa-rupAromanianarmãneashti
frpArpitanarpetan
astAsturianasturianu
atjAtikamekwAtikamekw
gnGuaraniAvañe'ẽ
ayAymaraAymar aru
azAzerbaijaniazərbaycanca
ksfBafiaBafia
bfdBafutBafut
absAmbonese Malaybahasa ambon
gorGorontaloBahasa Hulontalo
msMalayBahasa Melayu
idIndonesianBahasa Indonesia
bdrWest Coast BajauBajau Sama
bkcBakaBaka
bkhBakokoBakoko
bmBambarabamanankan
baxBamunBamum
zh-min-nanMinnanBân-lâm-gú
nan-latn-pehoejiMinnan (Pe̍h-ōe-jī)Bân-lâm-gí (Pe̍h-ōe-jī)
nan-latn-tailoMinnan (Tâi-lô)Bân-lâm-gí (Tâi-lô)
bjnBanjarBanjar
banBalineseBasa Bali
map-bmsBanyumasanBasa Banyumasan
bugBugineseBasa Ugi
basBasaaBasaa
muiMusiBaso Palembang
btmBatak MandailingBatak Mandailing
bbcBatak TobaBatak Toba
bbc-latnBatak Toba (Latin script)Batak Toba
bewBetawiBetawi
sjePite Samibidumsámegiella
bclCentral BikolBikol Central
biBislamaBislama
barBavarianBoarisch
bsBosnianbosanski
brhBrahuiBráhuí
brBretonbrezhoneg
en-gbBritish EnglishBritish English
en-caCanadian EnglishCanadian English
cpsCapiznonCapiceño
calCarolinianCarolinian
caCatalancatalà
cebCebuanoCebuano
csCzechčeština
choChoctawChahta anumpa
chChamorroChamoru
cbk-zamChavacanoChavacano de Zamboanga
nyNyanjaChi-Chewa
chnChinook Jargonchinuk wawa
snShonachiShona
tumTumbukachiTumbuka
luaLuba-Luluaciluba
seiSeriCmique Itom
coCorsicancorsu
cyWelshCymraeg
kaiKarekareKarai-karai
kiuKirmanjkiKırmancki
wlsWallisianFakaʻuvea
seNorthern Samidavvisámegiella
de-formalGerman (formal address)Deutsch (Sie-Form)
fmpFe'Fe'Fe'fe
gaaGaGa
isuIsuIsu
dagDagbanidagbanli
btoRinconada BikolIriga Bicolano
iaInterlinguainterlingua
fyWestern FrisianFrysk
haHausaHausa
eeEweeʋegbe
se-noNorthern Sami (Norway)davvisámegiella (Norgga bealde)
smjLule Samijulevsámegiella
ikInupiaqIñupiatun
hifFiji HindiFiji Hindi
ibbIbibioibibio
rwKinyarwandaIkinyarwanda
swSwahiliKiswahili
kwCornishkernowek
zuZuluisiZulu
hak-latnHakka (Latin script)Hak-kâ-ngî (Pha̍k-fa-sṳ)
gagGagauzGagauz
etuEjaghamEjagham
bbjGhomalaGhomála
hoHiri MotuHiri Motu
dgaSouthern DagaareDagaare
csbKashubiankaszëbsczi
dsbLower Sorbiandolnoserbski
eglEmilianEmiliàn
extExtremaduranestremeñu
pamPampangaKapampangan
iglIgalaIgala
klKalaallisutkalaallisut
hrxHunsrikHunsrik
xhXhosaisiXhosa
hkeHundekihunde
furFriulianfurlan
frcCajun Frenchfrançais cadien
ibaIbanJaku Iban
krjKinaray-aKinaray-a
keaKabuverdianukabuverdianu
smSamoanGagana Samoa
enEnglishEnglish
cnhHakha-ChinHakha Chin
pdcPennsylvania GermanDeitsch
rnRundiikirundi
gvManxGaelg
hsbUpper Sorbianhornjoserbsce
gom-latnGoan Konkani (Latin script)Gõychi Konknni
rmfFinnish Kalokaalengo tšimb
eoEsperantoEsperanto
foFaroeseføroyskt
ioIdoIdo
emlEmiliano-Romagnoloemiliàn e rumagnòl
kiKikuyuGĩkũyũ
etoEtonEton
dtpCentral DusunKadazandusun
iloIlokoIlokano
alnGheg AlbanianGegë
es-formalSpanish (formal address)español (formal)
krlKareliankarjal
hawHawaiianHawaiʻi
nvNavajoDiné bizaad
naNauruDorerin Naoero
kerKeraKera
fonFonfɔ̀ngbè
euBasqueeuskara
glGaliciangalego
mhMarshalleseEbon
daDanishdansk
ewoEwondoEwondo
gaIrishGaeilge
itItalianitaliano
cakKaqchikelKaqchikel
etEstonianeesti
jvJavaneseJawa
nrSouth NdebeleisiNdebele seSewula
krKanurikanuri
hrCroatianhrvatski
kgKongoKongo
frFrenchfrançais
duaDualaDuala
gpeGhanaian PidginGhanaian Pidgin
igIgboIgbo
se-seNorthern Sami (Sweden)davvisámegiella (Ruoŧa bealde)
gurFrafrafarefare
isIcelandicíslenska
esSpanishespañol
efiEfikEfịk
gdScottish GaelicGàidhlig
ike-latnEastern Canadian (Latin script)inuktitut
ffFulaFulfulde
bkmKomKom
hif-latnFiji Hindi (Latin script)Fiji Hindi
hilHiligaynonIlonggo
kbpKabiyeKabɩyɛ
es-419Latin American Spanishespañol de América Latina
gyaGbayaGbaya
ieInterlingueInterlingue
deGermanDeutsch
jutJutishjysk
guwGungungbe
se-fiNorthern Sami (Finland)davvisámegiella (Suoma bealde)
vmwMakhuwaemakhuwa
avkKotavaKotava
nnzNda'Nda'Nda'nda
cpx-latnPuxian (Latin script)Pó-sing-gṳ̂ (Báⁿ-uā-ci̍)
ckbCentral Kurdishکوردی
ceChechenнохчийн
beBelarusianбеларуская
nds-nlLow SaxonNedersaksies
niaNiasLi Niha
neNepaliनेपाली
wuu-hansWu (Simplified Han script)吴语(简体)
hak-hansHakka (Simplified Han script)客家语(简体)
rutRutulмыхаӀбишды
ryuOkinawan沖縄口
teTeluguతెలుగు
mwlMirandeseMirandés
tg-cyrlTajik (Cyrillic script)тоҷикӣ
pt-brBrazilian Portugueseportuguês do Brasil
tzmCentral Atlas Tamazightⵜⴰⵎⴰⵣⵉⵖⵜ
nl-informalDutch (informal address)Nederlands (informeel)
vutVuteVute
nan-haniMinnan (Han script)閩南語
yue-hantCantonese (Traditional Han script)粵語(繁體)
skr-arabSaraiki (Arabic script)سرائیکی
lozLoziSilozi
tt-latnTatar (Latin script)tatarça
shiTachelhitTaclḥit
gcrGuianan Creolekriyòl gwiyannen
bqzMka'aMka'a
sdSindhiسنڌي
zaZhuangVahcuengh
cdo-latnMindong (Latin script)Mìng-dĕ̤ng-ngṳ̄ (Bàng-uâ-cê)
sh-cyrlSerbo-Croatian (Cyrillic script)српскохрватски (ћирилица)
hak-hantHakka (Traditional Han script)客家語(繁體)
yrlNheengatuNhẽẽgatú
ugUyghurئۇيغۇرچە / Uyghurche
ksKashmiriکٲشُر
sgSangoSängö
osOsseticирон
psPashtoپښتو
ssSwatiSiSwati
stySiberian Tatarсебертатар
pnbWestern Punjabiپنجابی
urUrduاردو
tgTajikтоҷикӣ
wlxWaliwaale
ojbNorthwestern OjibwaOjibwemowin
apcLevantine Arabicشامي
mncManchumanju gisun
kncCentral KanuriYerwa Kanuri
bat-smgSamogitianžemaitėška
mgMalagasyMalagasy
ngNdongaOshiwambo
lgGandaLuganda
bgBulgarianбългарски
mrMarathiमराठी
bpyBishnupriyaবিষ্ণুপ্রিয়া মণিপুরী
nlaNgombalaNgombala
kk-latnKazakh (Latin script)qazaqşa (latın)
pihPitcairn-NorfolkNorfuk / Pitkern
srSerbianсрпски / srpski
truTuroyoṪuroyo
crhCrimean Tatarqırımtatarca
gju-arabGujari (Arabic script)گوجری
ady-cyrlAdyghe (Cyrillic script)адыгабзэ
arArabicالعربية
ko-kpKorean (North Korea)조선말
crCreeNēhiyawēwin / ᓀᐦᐃᔭᐍᐏᐣ
sh-latnSerbo-Croatian (Latin script)srpskohrvatski (latinica)
ndsLow GermanPlattdüütsch
nnhNgiemboonNgiemboon
sqAlbanianshqip
crh-latnCrimean Tatar (Latin script)qırımtatarca (Latin)
arzEgyptian Arabicمصرى
shy-latnShawiya (Latin script)tacawit
tlyTalyshtolışi
aryMoroccan Arabicالدارجة
wesPidgin (Cameroon)Pidgin (Cameroon)
luzSouthern Luriلئری دوٙمینی
be-taraskBelarusian (Taraškievica orthography)беларуская (тарашкевіца)
shSerbo-Croatiansrpskohrvatski / српскохрватски
vepVepsvepsän kel’
sesKoyraboro SenniKoyraboro Senni
pwnPaiwanpinayuanan
tsTsongaXitsonga
rmcCarpathian Romaniromaňi čhib
kumKumykкъумукъ
nmzNawdmnawdm
fkvKvenskkvääni
shi-tfngTachelhit (Tifinagh script)ⵜⴰⵛⵍⵃⵉⵜ
boTibetanབོད་ཡིག
nsoNorthern SothoSesotho sa Leboa
kk-kzKazakh (Kazakhstan)қазақша (Қазақстан)
bhBhojpuriभोजपुरी
copCopticϯⲙⲉⲧⲣⲉⲙⲛ̀ⲭⲏⲙⲓ
arnMapuchemapudungun
kk-cnKazakh (China)قازاقشا (جۇنگو)
ban-baliBalinese (Balinese script)ᬩᬲᬩᬮᬶ
roRomanianromână
pntPonticΠοντιακά
toTonganlea faka-Tonga
soSomaliSoomaaliga
tg-latnTajik (Latin script)tojikī
moMoldovanмолдовеняскэ
tpiTok PisinTok Pisin
liLimburgishLimburgs
hywWestern ArmenianԱրեւմտահայերէն
loLaoລາວ
koKorean한국어
fiFinnishsuomi
mnc-mongManchu (Mongolian script)ᠮᠠᠨᠵᡠ ᡤᡳᠰᡠᠨ
hiHindiहिन्दी
iiSichuan Yiꆇꉙ
bnBanglaবাংলা
anpAngikaअंगिका
lrcNorthern Luriلۊری شومالی
yiYiddishייִדיש
siSinhalaසිංහල
tiTigrinyaትግርኛ
inhIngushгӀалгӀай
mcpMakaMaka
zhChinese中文
tnTswanaSetswana
mnMongolianмонгол
pdtPlautdietschPlautdietsch
thqKochila Tharuकाेचिला थारु
knKannadaಕನ್ನಡ
kjpEastern Pwoဖၠုံလိက်
zh-classicalLiterary Chinese文言
nmgKwasioKwasio
nqoN’Koߒߞߏ
kk-trKazakh (Turkey)qazaqşa (Türkïya)
amAmharicአማርኛ
mhrEastern Mariолык марий
gotGothic𐌲𐌿𐍄𐌹𐍃𐌺
gom-devaGoan Konkani (Devanagari script)गोंयची कोंकणी
qugChimborazo Highland QuichuaRuna shimi
mrhMaraMara
mtMalteseMalti
zh-twChinese (Taiwan)中文(臺灣)
zh-sgChinese (Singapore)中文(新加坡)
zh-myChinese (Malaysia)中文(马来西亚)
ccpChakma𑄌𑄋𑄴𑄟𑄳𑄦
rmRomanshrumantsch
nrmNormanNouormand
zh-moChinese (Macau)中文(澳門)
omOromoOromoo
koiKomi-Permyakперем коми
rifRiffianTarifit
nodNorthern Thaiᨣᩤᩴᨾᩮᩬᩥᨦ
kmKhmerភាសាខ្មែរ
krcKarachay-Balkarкъарачай-малкъар
arcAramaicܐܪܡܝܐ
kjKuanyamaKwanyama
mniManipuriꯃꯤꯇꯩ ꯂꯣꯟ
zh-hansSimplified Chinese中文(简体)
tyTahitianreo tahiti
lzhLiterary Chinese文言
hsnXiang湘語
zghStandard Moroccan Tamazightⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ
novNovialNovial
crh-roDobrujan Tatartatarşa
bqiBakhtiariبختیاری
zeaZeelandicZeêuws
yue-hansCantonese (Simplified Han script)粵语(简体)
asAssameseঅসমীয়া
yoYorubaYorùbá
fjFijianNa Vosa Vakaviti
ybbYembaYemba
voVolapükVolapük
yasNugunuNugunu
xsySaisiyatsaisiyat
newNewariनेपाल भाषा
slSlovenianslovenščina
tlTagalogTagalog
xmfMingrelianმარგალური
chrCherokeeᏣᎳᎩ
byvMedumbaMedumba
plPolishpolski
mlMalayalamമലയാളം
nlDutchNederlands
myvErzyaэрзянь
votVoticVaďďa
bfwBondaରେମସାମ୍
amiAmisPangcah
isv-latnInterslavic (Latin script)medžuslovjansky
wuu-hantWu (Traditional Han script)吳語(正體)
elGreekΕλληνικά
ku-arabKurdish (Arabic script)کوردی (عەرەبی)
wuuWu吴语
woWolofWolof
hnoNorthern Hindkoہندکو
gan-hansGan (Simplified Han script)赣语(简体)
warWarayWinaray
vroVõrovõro
shnShanတႆး
sylSylhetiꠍꠤꠟꠐꠤ
bgnWestern Balochiروچ کپتین بلوچی
vmfMain-FranconianMainfränkisch
cpx-hantPuxian (Traditional Han script)莆仙語(繁體)
ngeNgémbaNgémba
kgeKomeringKumoring
viVietnameseTiếng Việt
vecVenetianvèneto
veVendaTshivenda
uz-latnUzbek (Latin script)oʻzbekcha
uz-cyrlUzbek (Cyrillic script)ўзбекча
twTwiTwi
ukUkrainianукраїнська
ug-latnUyghur (Latin script)Uyghurche
ug-arabUyghur (Arabic script)ئۇيغۇرچە
mkMacedonianмакедонски
udmUdmurtудмурт
tyvTuvinianтыва дыл
zh-cnChinese (China)中文(中国大陆)
mosMossimoore
uzUzbekoʻzbekcha / ўзбекча
mdfMokshaмокшень
tvuTunenTunen
otaOttoman Turkishلسان عثمانى
ttjTooroOrutooro
bhoBhojpuriभोजपुरी
tt-cyrlTatar (Cyrillic script)татарча
mrjWestern Mariкырык мары
trvTarokoSeediq
trTurkishTürkçe
tkTurkmenTürkmençe
tpvTanapagTanapag
tokToki Ponatoki pona
kswS'gaw Karenစှီၤ
thThaiไทย
dzDzongkhaཇོང་ཁ
skrSaraikiسرائیکی
tcyTuluತುಳು
livLivonianLīvõ kēļ
skSlovakslovenčina
awaAwadhiअवधी
kcgTyapTyap
acfSaint Lucian CreoleKwéyòl Sent Lisi
fiu-vroVõrovõro
svSwedishsvenska
suSundaneseSunda
ms-arabMalay (Jawi script)بهاس ملايو
srqSirionómbia cheë
szlSilesianślůnski
bgcHaryanviहरियाणवी
sahYakutсаха тыла
lnsLamnso'Lamnso
sroCampidanese Sardiniansardu campidanesu
srnSranan TongoSranantongo
sr-elSerbian (Latin script)srpski (latinica)
sr-ecSerbian (Cyrillic script)српски (ћирилица)
dtyDoteliडोटेली
myBurmeseမြန်မာဘာသာ
yueCantonese粵語
kyKyrgyzкыргызча
rgnRomagnolRumagnôl
prgPrussianprūsiskan
gucWayuuwayuunaiki
kabKabyleTaqbaylit
lemNomaandeNomaande
orOdiaଓଡ଼ିଆ
de-chSwiss High GermanSchweizer Hochdeutsch
gcfGuadeloupean Creolekréyòl Gwadloup
annOboloObolo
kbdKabardianадыгэбзэ
hyArmenianհայերեն
nnNorwegian Nynorsknorsk nynorsk
lezLezghianлезги
oloLivvi-Karelianlivvinkarjala
zgh-latnStandard Moroccan Tamazight (Latin script)tamaziɣt tanawayt
tetTetumtetun
kshColognianRipoarisch
kaaKara-KalpakQaraqalpaqsha
gldNanaiна̄ни
aeb-latnTunisian Arabic (Latin script)Tûnsî
szySakizayaSakizaya
satSantaliᱥᱟᱱᱛᱟᱲᱤ
nysNyungarNyunga
arqAlgerian Arabicجازايرية
simpleSimple EnglishSimple English
lnLingalalingála
lfnLingua Franca NovaLingua Franca Nova
smsSkolt Saminuõrttsääʹmǩiõll
sdhSouthern Kurdishکوردی خوارگ
madMadureseMadhurâ
shyShawiyatacawit
vlsWest FlemishWest-Vlams
ladLadinoLadino
kk-cyrlKazakh (Cyrillic script)қазақша (кирил)
jamJamaican Creole EnglishPatois
sgsSamogitianžemaitėška
shi-latnTachelhit (Latin script)Taclḥit
ganGan贛語
nanMinnan閩南語 / Bân-lâm-gí
scoScotsScots
pflPalatine GermanPälzisch
gomGoan Konkaniगोंयची कोंकणी / Gõychi Konknni
ike-cansEastern Canadian (Aboriginal syllabics)ᐃᓄᒃᑎᑐᑦ
ljpLampung ApiLampung Api
sdcSassarese SardinianSassaresu
ruq-cyrlMegleno-Romanian (Cyrillic script)Влахесте
muaMundangMundang
ks-devaKashmiri (Devanagari script)कॉशुर
kjhKhakasхакас
kk-arabKazakh (Arabic script)قازاقشا (تٴوتە)
tigTigreትግሬ
lmoLombardlombard
cdoMindong閩東語 / Mìng-dĕ̤ng-ngṳ̄
kaGeorgianქართული
be-x-oldBelarusian (Taraškievica orthography)беларуская (тарашкевіца)
rueRusynрусиньскый
chyCheyenneTsetsêhestâhese
acmIraqi Arabicعراقي
gan-hantGan (Traditional Han script)贛語(繁體)
fvrFurpoor’íŋ belé’ŋ
paPunjabiਪੰਜਾਬੀ
ruq-latnMegleno-Romanian (Latin script)Vlăheşte
kbd-cyrlKabardian (Cyrillic script)адыгэбзэ
ruRussianрусский
rskPannonian Rusynруски
roa-taraTarantinotarandíne
jboLojbanla .lojban.
fatFantimfantse
hzHereroOtsiherero
bxrRussia Buriatбуряад
rmyVlax Romaniromani čhib
cdo-hantMindong (Traditional Han script)閩東語(傳統漢字)
tddTai Nueaᥖᥭᥰ ᥖᥬᥲ ᥑᥨᥒᥰ
pcdPicardPicard
pcmNigerian PidginNaijá
aebTunisian Arabicتونسي / Tûnsî
altSouthern Altaiалтай тил
crh-cyrlCrimean Tatar (Cyrillic script)къырымтатарджа (Кирилл)
zh-hkChinese (Hong Kong)中文(香港)
lkiLakiلەکی
bccSouthern Balochiجهلسری بلوچی
nahNahuatlNāhuatl
qucKʼicheʼQatzijob\ʼal
bciBaouléwawle
heHebrewעברית
zh-hantTraditional Chinese中文(繁體)
rkiArakaneseရခိုင်
dsoDesiyaଦେଶିଆ
pmsPiedmontesePiemontèis
stqSaterland FrisianSeeltersk
piPaliपालि
lijLigurianLigure
magMagahiमगही
pagPangasinanPangasinan
ltgLatgalianlatgaļu
pap-awPapiamento (Aruba)Papiamento
mnc-latnManchu (Latin script)manju gisun
cvChuvashчӑвашла
dvDivehiދިވެހިބަސް
ks-arabKashmiri (Arabic script)کٲشُر
mcnMassavùn màsànà
diqDimliZazaki
papPapiamentoPapiamentu
nan-hantMinnan (Traditional Han script)閩南語(傳統漢字)
tly-cyrlTalysh (Cyrillic script)толыши
kvKomiкоми
lvLatvianlatviešu
scnSiciliansicilianu
cpx-hansPuxian (Simplified Han script)莆仙语(简体)
osa-latnOsage (Latin script)Wažáže íe
dinDinkaThuɔŋjäŋ
taTamilதமிழ்
waWalloonwalon
khwKhowarکھوار
grcAncient GreekἈρχαία ἑλληνικὴ
nynNyankolerunyankore
ruqMegleno-RomanianVlăheşte
minMinangkabauMinangkabau
saSanskritसंस्कृतम्
avAvaricавар
nupNupeNupe
aeb-arabTunisian Arabic (Arabic script)تونسي
nogNogaiногайша
kggKusundaगेम्येहाक़ गिपन
noNorwegiannorsk
adyAdygheадыгабзэ
iuInuktitutᐃᓄᒃᑎᑐᑦ / inuktitut
huHungarianmagyar
guGujaratiગુજરાતી
laLatinLatina
lusMizoMizo ţawng
musMuscogeeMvskoke
cuChurch Slavicсловѣньскъ / ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ
azbSouth Azerbaijaniتۆرکجه
quQuechuaRuna Simi
wyaWyandotWyandot
jaJapanese日本語
kusKusaalKʋsaal
napNeapolitanNapulitano
mznMazanderaniمازِرونی
kuKurdishkurdî
maiMaithiliमैथिली
nitSoutheastern Kolamiకొలామి
de-atAustrian GermanÖsterreichisches Deutsch
kriKrioKrio
ku-latnKurdish (Latin script)kurdî (latînî)
zh-yueCantonese粵語
stSouthern SothoSesotho
ttTatarтатарча / tatarça
niuNiueanNiuē
fitTornedalen Finnishmeänkieli
tayAtayalTayal
mnwMonဘာသာမန်
frrNorthern FrisianNordfriisk
faPersianفارسی
sjdKildin Samiкӣллт са̄мь кӣлл
miMāoriMāori
aaAfarQafár af
lbeLakлакку
baBashkirбашҡортса
htHaitian CreoleKreyòl ayisyen
bagTukiTuki
lzzLazLazuri
hakHakka Chinese客家語 / Hak-kâ-ngî
cpxPuxian莆仙語 / Pó-sing-gṳ̂
walWolayttawolaytta
gju-devaGujari (Devanagari script)गुज्जरी
lldLadinLadin
ptPortugueseportuguês
xalKalmykхальмг
nbNorwegian Bokmålnorsk bokmål
lbLuxembourgishLëtzebuergesch
ltLithuanianlietuvių
isv-cyrlInterslavic (Cyrillic script)меджусловјанскы
yavYangbenYangben
kkKazakhқазақша
sliLower SilesianSchläsch
glkGilakiگیلکی
abAbkhazianаԥсшәа
rwrMarwari (India)मारवाड़ी
blkPa'Oပအိုဝ်ႏဘာႏသာႏ
yatYambetaYambeta
hu-formalHungarian (formal address)magyar (formal)
scSardiniansardu
hocHo𑢹𑣉𑣉 𑣎𑣋𑣜
sjuUme Samiubmejesámiengiälla
ocOccitanoccitan
nyoNyoroOrunyoro
bug-bugiBuginese (Buginese script)ᨅᨔ ᨕᨘᨁᨗ

There are currently 538 supported languages (plus the language tagzxx denoting the absence of any linguistic content).

Note
SVGsystemLanguage codes must be valid BCP 47 language tags (code differences).

Using numbers instead of labels

[edit]
An example of an image with few labels.

On images with few labels, an alternative to either many translated files, or a multilingual SVG file, 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.File:Robal.png orFile:Insect anatomy diagram.svg 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,File:ISS configuration sep-2006 en.svg has English labels, and a version with numeric labelsFile: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.

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 page should contain the template itself and the quick info text translated from theEnglish 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 languagethere andthere, if you have created a new translation.

Thank you for your support!

See also

[edit]

Notes

[edit]
  1. You can specify multiple languages separated by a comma, in case multiple languages happen to express something the same way. See MDN page forsystemLanguage.
  2. http://commons.wikimedia.org/w/index.php?title=Commons:Graphic_Lab/Illustration_workshop&diff=prev&oldid=1077344410
  3. Theimakes the language code case-insensitive.
  4. Starting in November 2018, MediaWiki tries to use the wiki's language rather than always use "en" when the file transclusion does not specify alang 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.
Retrieved from "https://commons.wikimedia.org/w/index.php?title=Commons:Translation_possible/Learn_more&oldid=1077836179"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp