Template:Translate
![]() |
This SVG file contains embedded text that can be translated into your language, using any capable SVG editor, text editor or the SVG Translate tool. For more information see: About translating SVG files. |
Since SVG usually stores such information as plain text, these captions can easily be translated and a new SVG image uploaded, translated into a new language. You may add this template to pages of SVG images which contain embedded text or attached captions. This template will display a link to translation manual.
The template automatically sets the following categories:
- Category:Translation possible - SVG
- Category:Translation possible - SVG (switch) (if parameter switch contains any value)
- Category:Translation possible - to check (if the file is not SVG)
Usage
{{Translate}}
Template parameters
Since SVG usually stores such information as plain text, these captions can easily be translated and a new SVG image uploaded, translated into a new language. You may add this template to pages of SVG images which contain embedded text or attached captions. This template will display a link to translation manual (https://commons.wikimedia.org/wiki/Commons:Translation_possible/Learn_more).
Parameter | Description | Type | Status | |
---|---|---|---|---|
style | style | display style options | Line | optional |
switch | switch | Give it any value if the SVG is designed for usage of internal translation using the <switch> tag; omit otherwise. | Line | optional |
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Example
{{Translate|switch=yes}}
renders as:
![]() |
This file is translated using SVG <switch> elements. All translations are stored in the same file! Learn more.
To embed this file in your language (if available) use the To translate the text into your language, you can use the SVG Translate tool. Alternatively, you can download the file to your computer, add your translations using whatever software you're familiar with, and re-upload it with the same name. You will find help in Graphics Lab if you're not sure how to do this. |
⧼Seealso⧽
{{Convert to international}}
{{Path text SVG}}
{{Igen/emb}}
– shorter form for usage within {{Igen}}{{Multilingual Gallery}}
Localization
English ∙
This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Translate/layout.