Commons:Translation possible/Learn more

From Wikimedia Commons, the free media repository
Jump to: navigation, search

català | Deutsch | English | español | Esperanto | français | עברית | hrvatski | italiano | galego | македонски | polski | português | русский | 中文(繁體)‎ | 中文(简体)‎ | +/−

Nuvola apps locale.png

Contents

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 {{Translation possible}}. Please note that this template and its related pages is a one main idea. If you have questions or comments about it, please use the template discussion page.

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 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 byself.

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'is still not fully internationalized, becouse title and date are still writen on image in English.

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 three ways to translate text in SVG:

  • use an online tool linked from template box — SVG Translate. It's the easiest way if text in the image have good size and position for You language.
  • use a nice and free tool available, that is called Inkscape. You can use that tool to create or edit SVGs. Then change the labels by clicking on them with the Inkscape text-tool.
  • edit SVG file as text

For edit image in any ofline editor, simply download a version of the file you want to edit and open it with Inkscape. Edit them. Save your changes to a new file and upload it back to Commons.

Advanced editing [edit]

Note that instead of using Inkscape, you can also use any text editor capable of using UTF-8 and search 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 XML. Such advanced users might also change encoding of the file and won't have to use UTF-8 capable editors.

How to place new language version in Commons [edit]

When creating SVG files for multiple language versions, it would be good, by Commons:File naming, to save them with language-specific name. In case of name's conflict with other langages You can use old rule: use the laguage suffix (like -en for English) that goes before the .svg. For example, Image:Gibraltar map-en.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 Yours images.

It's looks like:

[edit]

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

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 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 save it as a sub-page. The template consists of three parts. For the German template they are, for example:

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!