Difference between revisions of "Template:GoogleTrans-en2"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#d0e6f9; color:grey"> | <table width="100%" cellpadding="0" cellspacing="0" style="background-color:#d0e6f9; color:grey"> | ||
<tr><td style="font-size:70%"><span class="plainlinks">[http://translate.google.com {{{title|Google ''translations''}}}]: <!-- | <tr><td style="font-size:70%"><span class="plainlinks">[http://translate.google.com {{{title|Google ''translations''}}}]: <!-- | ||
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Ces&hl=en&ie=UTF-8&oe=UTF-8 {{#language:es}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Csq&hl=en&ie=UTF-8&oe=UTF-8 {{#language:sq}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cbg&hl=en&ie=UTF-8&oe=UTF-8 {{#language:bg}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cca&hl=en&ie=UTF-8&oe=UTF-8 {{#language:ca}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Czh-CN&hl=en&ie=UTF-8&oe=UTF-8 {{#language:zh-CN}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Czh-TW&hl=en&ie=UTF-8&oe=UTF-8 {{#language:zh-TW}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Chr&hl=en&ie=UTF-8&oe=UTF-8 {{#language:hr}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Ccs&hl=en&ie=UTF-8&oe=UTF-8 {{#language:cs}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cda&hl=en&ie=UTF-8&oe=UTF-8 {{#language:da}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cnl&hl=en&ie=UTF-8&oe=UTF-8 {{#language:nl}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cet&hl=en&ie=UTF-8&oe=UTF-8 {{#language:et}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Ctl&hl=en&ie=UTF-8&oe=UTF-8 {{#language:tl}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cfi&hl=en&ie=UTF-8&oe=UTF-8 {{#language:fi}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cfr&hl=en&ie=UTF-8&oe=UTF-8 {{#language:fr}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cgl&hl=en&ie=UTF-8&oe=UTF-8 {{#language:gl}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cde&hl=en&ie=UTF-8&oe=UTF-8 {{#language:de}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cel&hl=en&ie=UTF-8&oe=UTF-8 {{#language:el}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Chi&hl=en&ie=UTF-8&oe=UTF-8 {{#language:hi}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Chu&hl=en&ie=UTF-8&oe=UTF-8 {{#language:hu}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cid&hl=en&ie=UTF-8&oe=UTF-8 {{#language:id}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cit&hl=en&ie=UTF-8&oe=UTF-8 {{#language:it}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cja&hl=en&ie=UTF-8&oe=UTF-8 {{#language:ja}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cko&hl=en&ie=UTF-8&oe=UTF-8 {{#language:ko}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Clv&hl=en&ie=UTF-8&oe=UTF-8 {{#language:lv}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Clt&hl=en&ie=UTF-8&oe=UTF-8 {{#language:lt}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cmt&hl=en&ie=UTF-8&oe=UTF-8 {{#language:mt}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cno&hl=en&ie=UTF-8&oe=UTF-8 {{#language:no}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cpl&hl=en&ie=UTF-8&oe=UTF-8 {{#language:pl}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cpt&hl=en&ie=UTF-8&oe=UTF-8 {{#language:pt}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cro&hl=en&ie=UTF-8&oe=UTF-8 {{#language:ro}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cru&hl=en&ie=UTF-8&oe=UTF-8 {{#language:ru}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Csr&hl=en&ie=UTF-8&oe=UTF-8 {{#language:sr}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Csk&hl=en&ie=UTF-8&oe=UTF-8 {{#language:sk}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Csl&hl=en&ie=UTF-8&oe=UTF-8 {{#language:sl}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Csv&hl=en&ie=UTF-8&oe=UTF-8 {{#language:sv}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cth&hl=en&ie=UTF-8&oe=UTF-8 {{#language:th}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Ctr&hl=en&ie=UTF-8&oe=UTF-8 {{#language:tr}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cuk&hl=en&ie=UTF-8&oe=UTF-8 {{#language:uk}}] <!-- |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cvi&hl=en&ie=UTF-8&oe=UTF-8 {{#language:vi}}] <!-- Right-to-left languages |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Car&hl=en&ie=UTF-8&oe=UTF-8 {{#language:ar}}] <!-- Arabic |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Ciw&hl=en&ie=UTF-8&oe=UTF-8 {{#language:he}}] <!-- Hebrew |
− | --> | + | -->[http://translate.google.com/translate?u={{fullurl:{{FULLPAGENAME}}}}&langpair=en%7Cfa&hl=en&ie=UTF-8&oe=UTF-8 {{#language:fa}}]</span></td> <!-- Persian --> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 148: | Line 148: | ||
== Usage == | == Usage == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Known Issues == | == Known Issues == | ||
Line 205: | Line 158: | ||
== Sample == | == Sample == | ||
− | # all languages included:<br><code><nowiki>{{</nowiki> GoogleTrans-en2 | + | # all languages included:<br><code><nowiki>{{</nowiki> GoogleTrans-en2<nowiki>}}</nowiki></code> |
− | {{GoogleTrans-en2 | + | {{GoogleTrans-en2 }} |
[[Category:Template|{{PAGENAME}}]] | [[Category:Template|{{PAGENAME}}]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude> | [[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude> |
Revision as of 23:23, 24 June 2009
Created from Google Translations without the translation needed
For on the fly translations
start-lang - en
This template adds a series of automatic (machine) translation links to the including page. They use Google as the engine, and takes a page in start-lang and can translate it into one of the following:
- es - Spanish (español)
- sq - Albanian (shqip)
- ar - Arabic (العربية)
- bg - Bulgarian (български)
- ca - Catalan (català)
- zh-CN - Chinese (Simplified) (中文(中国大陆))
- zh-TW - Chinese (Traditional) (中文(台灣))
- hr - Croatian (hrvatski)
- cs - Czech (čeština)
- da - Danish (dansk)
- nl - Dutch (Nederlands)
- et - Estonian (eesti)
- tl - Filipino (Tagalog)
- fi - Finnish (suomi)
- fr - French (français)
- gl - Galician (galego)
- de - German (Deutsch)
- el - Greek (Ελληνικά)
- iw/he - Hebrew (עברית) iw for Google Translate, he for MediaWiki (ISO-639)
- hi - Hindi (हिन्दी)
- hu - Hungarian (magyar)
- id - Indonesian (Bahasa Indonesia)
- it - Italian (italiano)
- ja - Japanese (日本語)
- ko - Korean (한국어)
- lv - Latvian (latviešu)
- lt - Lithuanian (lietuvių)
- mt - Maltese (Malti)
- no - Norwegian (norsk)
- fa - Persian (فارسی)
- pl - Polish(polski)
- pt - Portuguese (português)
- ro - Romanian (română)
- ru - Russian (русский)
- sr - Serbian (српски / srpski)
- sk - Slovak (slovenčina)
- sl - Slovenian (slovenščina)
- sv - Swedish (svenska)
- th - Thai (ไทย)
- tr - Turkish (Türkçe)
- uk - Ukrainian (українська)
- vi - Vietnamese (Tiếng Việt)
Albanian Arabic Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Indonesian Italian Japanese Korean Latvian Lithuanian Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese
Usage
Known Issues
- Translated language names with spaces permit mid-name line returns that may be confusing.
- It appears that the Firefox 3-beta browser has issues with handling this if you mix right-to-left and left-to-right languages in the same line. The symptom is jumpy switching from R-L to L-R orientations and results in poor usability. The quick workaround is to leave out Arabic for the moment and report the issue to Mozilla. Hopefully a fix of the behavior on mouseover of the span-class statement will be baked into FF3 before release and Arabic can be re-inserted.
- trying L-R languages at end of table row
- iw - Hebrew - עברית - is used by Google Translate, mediawiki ISO-639 gives he the (עברית) #language:iw is not working.
Sample
- all languages included:
{{ GoogleTrans-en2}}