Difference between revisions of "Template:Translations"

From Userful Support
Jump to navigationJump to search
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
You can auto translate a page using Google translate or a similar service which may simplify typing.
+
 
If you do auto-translate a page, be sure to include a warning at the top such as
+
'''Template:  translations''' -- lists available translations
{| bgcolor="DDDD00" align="center" style="border-style:double;border-width:3px;border-color:lightgreen"
+
: You can auto-translate a page using Google Translate or a similar service which may simplify typing. If you do auto-translate a page, be sure to include [[Template:Autotranslated]] near the top of your page.
|
+
 
"'''NOTE:''' This page was automatically translated. Please feel free to revise this document by clicking the '''edit''' button above."
+
'''Usage:'''
|}
+
* Before using this, you must name your page properly.  For example, if you have a page named "Documentation/Product User Guide" written in French, you must move it to "Documentation/Product User Guide/FR".
 +
* English pages must be either named ".../EN" or you can exclude the language code and use the <code>base</code> parameter.
 +
* Currently supported languages codes are:
 +
**  RU -- ??????? (Russian)
 +
**  DE -- Deutsch (German)
 +
**  EN -- English
 +
**  ES -- Español (Spanish)
 +
**  FR -- Français (French)
 +
**  PT -- Português (Portuguese)
 +
* Add this template at the top of your page with this wikitext:
 +
: <code><nowiki>{{translations}}</nowiki></code>
 +
: Or, for the base page (page with no language code at the end of the title):
 +
: <code><nowiki>{{translations|base}}</nowiki></code>
 +
 
 +
* See also [[Template:Autotranslated]]
 +
* See an example: [[Documentation/DiscoverStation_Administrator_Guide/ES]]
 +
'''Sample:'''
 
</noinclude>
 
</noinclude>
 
+
{| align="left" style="width:100%; background-color:#dddddd; border:none;"
{| bgcolor="DDDDDD" align="center" style="border-style:double;border-width:3px;border-color:lightgreen"
 
 
|  
 
|  
'''This page is also available in:''' [[{{PAGENAME}}/EN | English]], [[{{PAGENAME}}/ES | Espangol]], [[{{PAGENAME}}/FR | Français]], [[{{PAGENAME}}/PT | Português]], [[{{PAGENAME}}/DE | Deutsch]],
+
&nbsp;&nbsp;'''This page is also available in:''' &nbsp; {{if|{{{1|}}}|then= [[{{PAGENAME}} | English]], [[{{PAGENAME}}/ES | Español]], [[{{PAGENAME}}/FR | Français]], [[{{PAGENAME}}/PT | Português]], [[{{PAGENAME}}/DE | Deutsch]]
|}
+
|else= [[{{BASEPAGENAME}} | English]], [[{{BASEPAGENAME}}/ES | Español]], [[{{BASEPAGENAME}}/FR | Français]], [[{{BASEPAGENAME}}/PT | Português]], [[{{BASEPAGENAME}}/DE | Deutsch]], [[{{BASEPAGENAME}}/RU | Russian]]}}&nbsp;&nbsp;
 +
|}<br>
 +
<noinclude>[[Category: Templates]]</noinclude>

Latest revision as of 15:29, 28 June 2012


Template: translations -- lists available translations

You can auto-translate a page using Google Translate or a similar service which may simplify typing. If you do auto-translate a page, be sure to include Template:Autotranslated near the top of your page.

Usage:

  • Before using this, you must name your page properly. For example, if you have a page named "Documentation/Product User Guide" written in French, you must move it to "Documentation/Product User Guide/FR".
  • English pages must be either named ".../EN" or you can exclude the language code and use the base parameter.
  • Currently supported languages codes are:
    • RU -- ??????? (Russian)
    • DE -- Deutsch (German)
    • EN -- English
    • ES -- Español (Spanish)
    • FR -- Français (French)
    • PT -- Português (Portuguese)
  • Add this template at the top of your page with this wikitext:
{{translations}}
Or, for the base page (page with no language code at the end of the title):
{{translations|base}}

Sample:

  This page is also available in:   English, Español, Français, Português, Deutsch, Russian