Difference between revisions of "Template:Trans"

From Team Fortress Wiki
Jump to: navigation, search
m
(Assuming I got the arabic right.)
Line 4: Line 4:
 
| contents = {{ambox/message
 
| contents = {{ambox/message
 
  | 2 = {{lang
 
  | 2 = {{lang
   | ar = هذه صفحة ويب هو في يجري العمل '''[[Help:Language translation|مترجم]]''' على {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
+
   | ar = هذه صفحة ويب هو في يجري العمل '''[[Help:Language translation|مترجم]]''' على العربية.
 
   | cs = Tato stránka je ve fázi '''[[Help:Language translation|překladu]]''' do češtiny.
 
   | cs = Tato stránka je ve fázi '''[[Help:Language translation|překladu]]''' do češtiny.
 
   | da = Denne side er i færd med at blive '''[[Help:Language translation|oversat]]''' til dansk.
 
   | da = Denne side er i færd med at blive '''[[Help:Language translation|oversat]]''' til dansk.
 
   | de = Diese Seite wird zurzeit auf Deutsch '''[[Help:Language translation|übersetzt]]'''.
 
   | de = Diese Seite wird zurzeit auf Deutsch '''[[Help:Language translation|übersetzt]]'''.
   | en = This page is in the process of being '''[[Help:Language translation|translated]]''' into {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
+
   | en = This page is in the process of being '''[[Help:Language translation|translated]]''' into English.
 
   | es = Esta página está en proceso de ser '''[[Help:Language translation|traducida]]''' al Español.
 
   | es = Esta página está en proceso de ser '''[[Help:Language translation|traducida]]''' al Español.
 
   | fi = Tätä sivua ollaan '''[[Help:Language translation|kääntämässä]]''' suomeksi.
 
   | fi = Tätä sivua ollaan '''[[Help:Language translation|kääntämässä]]''' suomeksi.
Line 22: Line 22:
 
   | pt-br = Esta página está no processo de '''[[Help:Language translation|tradução]]''' para português do Brasil.
 
   | pt-br = Esta página está no processo de '''[[Help:Language translation|tradução]]''' para português do Brasil.
 
   | ru = В данный момент статья '''[[Help:Language translation|переводится]]''' с английского языка на русский.
 
   | ru = В данный момент статья '''[[Help:Language translation|переводится]]''' с английского языка на русский.
   | sv = Denna sida är på väg att bli '''[[ Help: Language translation|översatt]]''' till svenska.
+
   | sv = Denna sida är på väg att bli '''[[Help:Language translation|översatt]]''' till svenska.
 
   | tr = Bu sayfa şu anda Türkçeye '''[[Help:Language translation|tercüme edilme]]''' aşamasında.
 
   | tr = Bu sayfa şu anda Türkçeye '''[[Help:Language translation|tercüme edilme]]''' aşamasında.
 
   | zh-hans = 此页面正处于被'''[[Help:Language translation|翻译]]'''成简体中文的过程中。
 
   | zh-hans = 此页面正处于被'''[[Help:Language translation|翻译]]'''成简体中文的过程中。

Revision as of 18:00, 24 October 2014

Documentation for Trans

Use {{trans}} on pages that have not been fully translated yet. It will display the above notice and categorize the page correctly so uncompleted translations can be managed.

{{trans}} automatically detects the language of the page and will display the correct name and categorize the page correctly by default.

"{{trans|Italian|English}}" is no longer needed, just {{trans}} at the top of the page will suffice.

Usage

  • {{Trans}} when used on Soldier/ru will place the above notice and put the page in Category:Translating into Russian
  • If, for example, you need to place the notice on a page that doesn't use a lang subpage, like a draft version in the user space, you can force a particular language using the parameter lang:
    {{Trans|lang=de}} will place the same notice and put the page in Category:Translating into German.
    ^ This is not needed on article pages. Just place {{trans}} at the top of the page and the message will automatically change.