Difference between revisions of "Template:Translations"
From Userful Support
Jump to navigationJump to searchm |
|||
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: | ||
− | |||
** EN -- English | ** EN -- English | ||
** ES -- Espangol (Spanish) | ** ES -- Espangol (Spanish) | ||
Line 25: | Line 24: | ||
{| bgcolor="DDDDDD" align="left" style="border-style:solid; border-width:3px; border-color:grey;" | {| bgcolor="DDDDDD" align="left" style="border-style:solid; border-width:3px; border-color:grey;" | ||
| | | | ||
− | '''This page is also available in:''' {{if|{{{1|}}}|then= [[{{PAGENAME}} | English]], [[{{PAGENAME}}/ES | Español]], [[{{PAGENAME}}/FR | Français]], [[{{PAGENAME}}/PT | Português | + | '''This page is also available in:''' {{if|{{{1|}}}|then= [[{{PAGENAME}} | English]], [[{{PAGENAME}}/ES | Español]], [[{{PAGENAME}}/FR | Français]], [[{{PAGENAME}}/PT | Português]], [[{{PAGENAME}}/RU | Pусский]] |
− | |else= [[{{BASEPAGENAME}} | English]], [[{{BASEPAGENAME}}/ES | Español]], [[{{BASEPAGENAME}}/FR | Français]], [[{{BASEPAGENAME}}/PT | Português | + | |else= [[{{BASEPAGENAME}} | English]], [[{{BASEPAGENAME}}/ES | Español]], [[{{BASEPAGENAME}}/FR | Français]], [[{{BASEPAGENAME}}/PT | Português]], [[{{BASEPAGENAME}}/RU | Pусский]] }} |
|}<br> | |}<br> | ||
<noinclude>[[Category: Templates]]</noinclude> | <noinclude>[[Category: Templates]]</noinclude> |
Revision as of 22:07, 28 January 2009
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:
- EN -- English
- ES -- Espangol (Spanish)
- FR -- Français (French)
- PT -- Português (Portuguese)
- RU -- Pусский (Russian)
- 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}}
- See also Template:Autotranslated
- See an example: Documentation/DiscoverStation_Administrator_Guide/ES
Sample:
This page is also available in: English, Español, Français, Português, Pусский |