Module:Languages/Title

From "PTTLink Wiki"
Jump to navigation Jump to search

⧼tpt-languages-legend⧽

Module documentationview · edit · history · purge ]
This documentation is transcluded from Module:Languages/doc.

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:

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
stylestyle

display style options

Lineoptional
switchswitch

Give it any value if the SVG is designed for usage of internal translation using the <switch> tag; omit otherwise.

Lineoptional

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 lang parameter with the appropriate language code, e.g. Template:Translate/example for the English version.

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⧽

Localization

English 

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Translate/layout.

48pxTranslate this template now!