Difference between revisions of "Template:Translated From"

From Creative Commons
Jump to: navigation, search
(add message for title of the translation source language)
Line 19: Line 19:
 
For right to left languages, an optional <code>rtl=true</code> flag can be included.
 
For right to left languages, an optional <code>rtl=true</code> flag can be included.
  
Parameter <code>rev</code> should contain the revision ID of the source page that was the basis of translation. To find out the revision ID, visit the source page's history: placing the mouse pointer over the link to any revision of the page, the respective revision ID will show in the link's URL.
+
Parameter <code>rev</code> should contain the revision ID of the source page that was the basis of translation. To find out the revision ID, visit the source page's history: placing the mouse pointer over the link to any revision of the page, the respective revision ID will show in the link's URL. The latest revision ID is also show in the languages box, placing the mouse pointer over the translation's source language.
  
 
For example, if this page is a translation of revision 49136 of [[Template:Pt:Traduzida de]] then you'd use:
 
For example, if this page is a translation of revision 49136 of [[Template:Pt:Traduzida de]] then you'd use:

Revision as of 14:27, 27 April 2011

Template Translated From should be used to link the translations of an article to the source. Please refer to CC Wiki:Translate for learning how to name your translation page. To use this template in your tanslation, insert:

{{Translated From
| source = Namespace:Source Article Name
| rev = Revision ID of the page translated
| rtl = True (optional)
}}

For right to left languages, an optional rtl=true flag can be included.

Parameter rev should contain the revision ID of the source page that was the basis of translation. To find out the revision ID, visit the source page's history: placing the mouse pointer over the link to any revision of the page, the respective revision ID will show in the link's URL. The latest revision ID is also show in the languages box, placing the mouse pointer over the translation's source language.

For example, if this page is a translation of revision 49136 of Template:Pt:Traduzida de then you'd use:

{{Translated From
| source = Template:Pt:Traduzida de
| rev = 49136
}}

Next to the name of your language, there will appear either:

  • A mark ✔, if the supplied revision ID is the latest revision of the source page. In this case, your translation is in synch with the source.
  • A link "(synchronise)", if the supplied revision ID is not the latest revision of the source page. In this case, your translation is outdated so it needs to be resynched with the source. Clicking link "(synchronise)" you'll see the changes made to the source page since the supplied revision ID. In this way it is easy for any user to synchronise the translation again. When doing so, please also update the revision ID.

This is an interface that supplies messages in English to the real code, available at Template:Translated From/code. If a translation to your language is not yet available, please translate this interface and the messages to your language. Refer to Template:Pt:Traduzida de for an example.

See also