Template:Please Translate

From OpenMedia
Jump to: navigation, search

[[[:Template:Fullurl:Template:]] {{{1}}}]

[edit]

Documentation


Formatting template used to mark strings of text which need to be translated. Intended for use on template subpages when new label parameter is added. For example after adding "Linkback label = Link back to Creator infobox template" to template:Creator/en, "Linkback label = {{Please Translate|Link back to Creator infobox template|Creator|{{subst:SUBPAGENAME}}}}" was added to all other language specific subpages of {{Creator}}.

The template automatically sets the following categories: Category:Internationalization templates with incorrect translations

Usage

{{Please Translate|1=|2=|3=|silent=|demo=}}

{{Please Translate|text|Creator|pl}} will be shown as: text

Parameters

Parameter name Description Default value required or optional?

parameter #1 (1) text to be translated (usually in English) empty required
parameter #2 (2) template name on which subpage the text to be translated resides empty required
parameter #3 (3) language code empty required
silent turns on silent mode, when parent template is tagged but text from parameter {{{1}}} is not shown. Useful if we already have some text in correct language which no longer match the master version (usually in English). Then we can leave the old text and use Please translate template to tag the master template as having labels in need of attention. empty required
demo prevent categorization (if demo=1), eg for use in the default of a {{langswitch}} (so no incorrect translation exists). Warning do not use demo=1 if there are any other uses of Please Translate in the same page, as it may cause categorisation to fail. empty optional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

See also

{{Please Internationalise}}

Localization

This template is not intended to be localized.