Template:Trans: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
(added... somehow... Czech translation)
Line 10: Line 10:
  | 2 = {{lang
  | 2 = {{lang
   | 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 {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
  | cs = Tento článek je právě '''[[Help:Language translation/cs|překládán]]''' do jazyka {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
   | da = Denne side er ved at blive '''[[Help:Language translation|oversat]]''' til {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
   | da = Denne side er ved at blive '''[[Help:Language translation|oversat]]''' til {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
   | it = Questa pagina sta venendo '''[[Help:Language translation|tradotta]]''' in {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
   | it = Questa pagina sta venendo '''[[Help:Language translation|tradotta]]''' in {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}.
Line 29: Line 30:
   | en = If you can speak {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, post on the [[{{TALKPAGENAME}}|talk page]] or speak to those who have  
   | en = If you can speak {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, post on the [[{{TALKPAGENAME}}|talk page]] or speak to those who have  
contributed to the page (by viewing the [{{fullurl:{{FULLPAGENAMEE}}|action=history}} page history]).
contributed to the page (by viewing the [{{fullurl:{{FULLPAGENAMEE}}|action=history}} page history]).
  | cs = Pokud vládnete řečí nazývanou {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, pošlete vzkaz na [[{{TALKPAGENAME}}|diskusní stránku]] nebo sežeňte lidi, kteří přispěli k této stránce (zjistíte je z [{{fullurl:{{FULLPAGENAMEE}}|action=history}} historie úprav stránky]).
   | da = Hvis du kan snakke {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, skriv på [[{{TALKPAGENAME}}|talk siden]] eller snak med dem, der har  speak to those who have  
   | da = Hvis du kan snakke {{lang name|name|{{{lang|{{SUBPAGENAME}}}}}}}, skriv på [[{{TALKPAGENAME}}|talk siden]] eller snak med dem, der har  speak to those who have  
bidraget til denne side (ved at se [{{fullurl:{{FULLPAGENAMEE}}|action=history}} side historikken]).
bidraget til denne side (ved at se [{{fullurl:{{FULLPAGENAMEE}}|action=history}} side historikken]).
Line 50: Line 52:
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
  --></includeonly><noinclude>
  --></includeonly><noinclude>
{{translation switching|ar, da, de, es, it, fr, hu, no, pl, pt, pt-br, ru, sv, fi}}
{{translation switching|ar, cs, da, de, es, it, fr, hu, no, pl, pt, pt-br, ru, sv, fi}}
{{doc begin}}
{{doc begin}}
Use {{tl|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.
Use {{tl|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.

Revision as of 21:03, 17 June 2011

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

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.