Difference between revisions of "Template:Translations"
From Userful Support
Jump to navigationJump to search(27 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | You can auto translate a page using Google | + | |
− | If you do auto-translate a page, be sure to include | + | '''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 <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;" | |
− | {| | ||
| | | | ||
− | '''This page is also available in:''' [[{{PAGENAME}} | + | '''This page is also available in:''' {{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]]}} |
+ | |}<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}}
- 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, Deutsch, Russian |