Template:Google Translate
Jump to navigation
Jump to search
This template provides a simple way of making a non-english pages in the wiki available in english using Google's automatic translation. Google handles english as either the source or target language, so it's not an inter-language translation tool (the sole exception is that it can translate between french & german). The available language codes are:
- ar — arabic;
- de — german;
- en — english;
- es — spanish;
- fr — french;
- it — italian;
- ja — japanese;
- ko — korean;
- ru — russian; and
- zh — chinese (zh-CN - simplified / zh-TW - traditional)
Google translate
- en
- Bug: something in the wiki html grabs the top frame, so you lose google's header bar and the ability to easily cease translation.
Usage
{{ Google Translate | lang = <!-- language code of the (source) page supported by Google (ar, de, en, es, fr, it, ja, ko, pt, ru, zh) --> | to = <!-- OPTIONAL -- target language of the Google translation (default = en) NOTE: except for fr/de -> de/fr, all other translations must involve english as either source or target. --> | display = <!-- OPTIONAL -- how the link presents itself, if none provided it defaults to the to language code (which itself defaults to en). --> }}
Samples
{{Google Translate | lang = es }}
{{Google Translate | lang = es | to = en }}
{{Google Translate | lang = es | to = en | display = english }}
{{Google Translate | lang = es | display = english / inglés }}