Difference between revisions of "Template:TranslationStatus"

From ArchWiki
Jump to: navigation, search
(Fix typo. Add parameter info.)
m (style)
 
(41 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<noinclude>{{Template}}
+
<noinclude>
 +
{{Template}}
 +
[[ar:Template:TranslationStatus]]
 +
[[es:Template:TranslationStatus]]
 +
[[ja:Template:TranslationStatus]]
 +
[[ko:Template:TranslationStatus]]
 +
[[pt:Template:TranslationStatus]]
 +
[[ru:Template:TranslationStatus]]
 +
[[uk:Template:TranslationStatus]]
 +
[[zh-hans:Template:TranslationStatus]]
 +
[[zh-hant:Template:TranslationStatus]]
  
'''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.'''
+
Shows translation status of pages in other language and whether translated page is up-to-date. Records the last translation time and revision number of original page. Provides link to check changes to original page since last translation.
  
====Usage====
+
== Usage ==
  
This template should be added at the beginning of article translations. It takes two parameter:
+
This template should be added at the beginning of translated article. It takes three parameters:
* 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>}}
+
* English page title.
 +
* Last translation date. Write the date you translated the English page into other language.
 +
* Revision number of the English page. Use "Permanent link" from the tools on the left to get it.
  
If the page info is drift far away from the English page. Please Use {{ic|<nowiki>{{Translateme}}</nowiki>}} to flag the  page.
+
{{bc|<nowiki>{{TranslationStatus|English_Page_Name|Last translation date|revision number}}</nowiki>}}
  
====Example====
+
If translated article is substantially behind English version use {{ic|<nowiki>{{Translateme}}</nowiki>}} to flag.
{{TranslationStatus|Template:TranslationStatus|1}}</noinclude><includeonly>{{Message_box
+
 
|id              = translationstatus
+
== Example ==
|signal          = [[Image:Tango-preferences-desktop-locale.png]]
+
 
|heading        = This article is a localized version of the English page.
+
{{bc|<nowiki>{{TranslationStatus|Template:TranslationStatus|2017-11-24|498262}}</nowiki>}}
|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>
+
 
 +
The template above will be displayed as the following:
 +
 
 +
{{TranslationStatus|Template:TranslationStatus|2017-11-24|498262}}</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>

Latest revision as of 20:12, 15 August 2018

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.

Shows translation status of pages in other language and whether translated page is up-to-date. Records the last translation time and revision number of original page. Provides link to check changes to original page since last translation.

Usage

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

  • English page title.
  • Last translation date. Write the date you translated the English page into other language.
  • Revision number of the English page. Use "Permanent link" from the tools on the left to get it.
{{TranslationStatus|English_Page_Name|Last translation date|revision number}}

If translated article is substantially behind English version use {{Translateme}} to flag.

Example

{{TranslationStatus|Template:TranslationStatus|2017-11-24|498262}}

The template above will be displayed as the following:

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