Difference between revisions of "Template:Trans"
Line 44: | Line 44: | ||
* 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 {{code|lang}}: | * 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 {{code|lang}}: | ||
*: {{tlx|Trans|2=lang=de}} will place the same notice and put the page in [[:Category:Translating into German]]. | *: {{tlx|Trans|2=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 {{tl|trans}} at the top of the page and the message will automatically change. | ||
[[Category:Language templates|Trans]] | [[Category:Language templates|Trans]] | ||
</noinclude> | </noinclude> |
Revision as of 20:10, 8 December 2010
This page is in the process of being translated into . If you can speak , post on the talk page or speak to those who have contributed to the page (by viewing the page history). |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Trans/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: de, es, fr, hu, no, pl, pt, pt-br, ru (add) |
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.