Difference between revisions of "Template:TranslationStatus"

From ArchWiki
Jump to: navigation, search
(Fix typo. Add parameter info.)
(update interlanguage links (https://github.com/lahwaacz/wiki-scripts/blob/master/update-interlanguage-links.py))
 
(25 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
+
<noinclude>
 +
{{Template}}
 +
[[ar:Template:TranslationStatus]]
 +
[[es:Template:TranslationStatus]]
 +
[[ja:Template:TranslationStatus]]
 +
[[ko:Template:TranslationStatus]]
 +
[[ru:Template:TranslationStatus]]
 +
[[uk:Template:TranslationStatus]]
 +
[[zh-cn:Template:TranslationStatus]]
 +
[[zh-tw:Template:TranslationStatus]]
 +
'''Show translation status of i18n pages so user can know whether translated page is up-to-date. Record the last translation time and history id of the English page. Reader can check English changes after translation by the link provided.'''
  
'''Show translation status of i18n pages. Record the last translated history id of the English page. Provide a link to check diff after last translation id.'''
+
==== Usage ====
  
====Usage====
+
This template should be added at the beginning of article translations. It takes three parameters:
 +
* Title of English page.
 +
* Last translation date. Write the date you translated the English page into your language.
 +
* Translated id of the English page. You can find it from the history page or from the "Permanent link" on the left tools block.
  
This template should be added at the beginning of article translations. It takes two parameter:
+
{{bc|<nowiki>{{TranslationStatus|English_Page_Name|Last translation date|History ID}}</nowiki>}}
* Title of English page. If there is an space, please change it to underscore. For example, use {{ic|This_page}} instead of {{ic|This page}}.
+
* Translated id of the English page. You can find it from the history page.
+
 
+
{{bc|<nowiki>{{TranslationStatus|English Page Name|History ID}}</nowiki>}}
+
  
 
If the page info is drift far away from the English page. Please Use {{ic|<nowiki>{{Translateme}}</nowiki>}} to flag the  page.
 
If the page info is drift far away from the English page. Please Use {{ic|<nowiki>{{Translateme}}</nowiki>}} to flag the  page.
  
====Example====  
+
==== Example ====  
{{TranslationStatus|Template:TranslationStatus|1}}</noinclude><includeonly>{{Message_box
+
{{bc|<nowiki>{{TranslationStatus|Template:TranslationStatus|2012-05-14|200819}}</nowiki>}}
|id              = translationstatus
+
The template above will be displayed as the following:
|signal          = [[Image:Tango-preferences-desktop-locale.png]]
+
{{TranslationStatus|Template:TranslationStatus|2012-05-14|200819}}</noinclude><includeonly>{{META Box Blue|Translation Status:|This article is a localized version of [[{{{1}}}]]. Last translation date: {{{2}}}. You can help to synchronize translation, if there were [{{canonicalurl:{{{1}}}|diff&#61;0&oldid&#61;{{{3}}}}} changes] in English version.}}</includeonly>
|heading        = This article is a localized version of the English page.
+
|message        = English page changes after translation can be checked using [https://wiki.archlinux.org/index.php?title={{{1}}}&diff=0&oldid={{{2}}} this link]}}</includeonly>
+

Latest revision as of 17:07, 24 July 2015

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Show translation status of i18n pages so user can know whether translated page is up-to-date. Record the last translation time and history id of the English page. Reader can check English changes after translation by the link provided.

Usage

This template should be added at the beginning of article translations. It takes three parameters:

  • Title of English page.
  • Last translation date. Write the date you translated the English page into your language.
  • Translated id of the English page. You can find it from the history page or from the "Permanent link" on the left tools block.
{{TranslationStatus|English_Page_Name|Last translation date|History ID}}

If the page info is drift far away from the English page. Please Use {{Translateme}} to flag the page.

Example

{{TranslationStatus|Template:TranslationStatus|2012-05-14|200819}}

The template above will be displayed as the following:

Translation Status: This article is a localized version of Template:TranslationStatus. Last translation date: 2012-05-14. You can help to synchronize translation, if there were changes in English version.