Difference between revisions of "Template:Translations"

From Userful Support
Jump to navigationJump to search
 
(6 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
* English pages must be either named ".../EN" or you can exclude the language code and use the <code>base</code> parameter.
 
* 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:
 
* Currently supported languages codes are:
 +
**  RU -- ??????? (Russian)
 
**  DE -- Deutsch (German)
 
**  DE -- Deutsch (German)
 
**  EN -- English
 
**  EN -- English
**  ES -- Espangol (Spanish)
+
**  ES -- Español (Spanish)
 
**  FR -- Français (French)
 
**  FR -- Français (French)
 
**  PT -- Português (Portuguese)
 
**  PT -- Português (Portuguese)
Line 22: Line 23:
 
'''Sample:'''
 
'''Sample:'''
 
</noinclude>
 
</noinclude>
{| bgcolor="DDDDDD" align="left" style="border-style:solid; border-width:3px; border-color:grey;"
+
{| align="left" style="width:100%; background-color:#dddddd; border:none;"
 
|  
 
|  
&nbsp;&nbsp;'''This page is also available in:''' &nbsp; {{if|{{{1|}}}|then= [[{{PAGENAME}} | 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 | Espangol]], [[{{BASEPAGENAME}}/FR | Français]], [[{{BASEPAGENAME}}/PT | Português]], [[{{BASEPAGENAME}}/DE | Deutsch]] }}&nbsp;&nbsp;
+
|else= [[{{BASEPAGENAME}} | English]], [[{{BASEPAGENAME}}/ES | Español]], [[{{BASEPAGENAME}}/FR | Français]], [[{{BASEPAGENAME}}/PT | Português]], [[{{BASEPAGENAME}}/DE | Deutsch]], [[{{BASEPAGENAME}}/RU | Russian]]}}&nbsp;&nbsp;
 
|}<br>
 
|}<br>
 
 
<noinclude>[[Category: Templates]]</noinclude>
 
<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