Template:Google translation/doc: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template provides a link to the Google translation of a URL. === See...) |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<includeonly>{{high-use|1000+}}</includeonly> | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
== Usage == | |||
This template | This template creates an external link to the Google translation of a URL into English. | ||
=== See also === | If you want to provide an (automatic) translation to a source in a language other than English (for example the Spanish Wikipedia), you can simply use {{tl|Google translation}} to add an external {{Google translation|http://es.wikipedia.org|es}} link. | ||
Keep in mind that this is a machine translation which quality is not as good as a professional translation. However, it can be useful to give the reader a rough idea of the original document if other language versions and sources are not available. | |||
Syntax: | |||
<nowiki>{{Google translation|</nowiki>''url''|''source language code''<nowiki>}}</nowiki> | |||
== Parameters == | |||
<code>url</code> | |||
* URL of the page to translate (including <code>http://</code>). | |||
* Required. | |||
<code>source language code</code> | |||
* Language code of the source language. | |||
* Required. | |||
* Possible values: | |||
{| style="margin-left:4em;" | |||
|- style="background:#ddd; text-align:left;" | |||
! Code | |||
! Language | |||
|- style="background:#eee;" | |||
| ar | |||
| Arabic | |||
|- style="background:#eee;" | |||
| bg | |||
| Bulgarian | |||
|- style="background:#eee;" | |||
| zh-CN | |||
| Chinese (Simplified) | |||
|- style="background:#eee;" | |||
| zh-TW | |||
| Chinese (Traditional) | |||
|- style="background:#eee;" | |||
| hr | |||
| Croatian | |||
|- style="background:#eee;" | |||
| cs | |||
| Czech | |||
|- style="background:#eee;" | |||
| da | |||
| Danish | |||
|- style="background:#eee;" | |||
| nl | |||
| Dutch | |||
|- style="background:#eee;" | |||
| fi | |||
| Finnish | |||
|- style="background:#eee;" | |||
| fr | |||
| French | |||
|- style="background:#eee;" | |||
| de | |||
| German | |||
|- style="background:#eee;" | |||
| el | |||
| Greek | |||
|- style="background:#eee;" | |||
| hi | |||
| Hindi | |||
|- style="background:#eee;" | |||
| it | |||
| Italian | |||
|- style="background:#eee;" | |||
| ja | |||
| Japanese | |||
|- style="background:#eee;" | |||
| ko | |||
| Korean | |||
|- style="background:#eee;" | |||
| no | |||
| Norwegian | |||
|- style="background:#eee;" | |||
| pl | |||
| Polish | |||
|- style="background:#eee;" | |||
| pt | |||
| Portuguese | |||
|- style="background:#eee;" | |||
| ro | |||
| Romanian | |||
|- style="background:#eee;" | |||
| ru | |||
| Russian | |||
|- style="background:#eee;" | |||
| es | |||
| Spanish | |||
|- style="background:#eee;" | |||
| sv | |||
| Swedish | |||
|} | |||
== See also == | |||
* {{tl|Google translation named}} - metatemplate called by {{tl|Google translation}} to strip white spaces off the parameters. | |||
Furthermore, Google translation is already implemented in the following citation templates and can be activated by adding a single parameter: | |||
* {{tl|cite web}} | |||
* {{tl|cite news}} | |||
* {{tl|cite book}} | |||
== External links == | |||
* [http://www.google.com/intl/en/help/faq_translation.html Google translation FAQ] | |||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Language templates]] | [[Category:Language templates]] | ||
[[Category:External link templates|{{PAGENAME}} | [[Category:External link templates|{{PAGENAME}}]] | ||
[[Category:Typing-aid templates|{{PAGENAME}}]] | |||
</includeonly> | </includeonly> | ||
Latest revision as of 20:56, 14 December 2008
Usage
This template creates an external link to the Google translation of a URL into English.
If you want to provide an (automatic) translation to a source in a language other than English (for example the Spanish Wikipedia), you can simply use {{Google translation}} to add an external Google translation link.
Keep in mind that this is a machine translation which quality is not as good as a professional translation. However, it can be useful to give the reader a rough idea of the original document if other language versions and sources are not available.
Syntax:
{{Google translation|url|source language code}}
Parameters
url
- URL of the page to translate (including
http://). - Required.
source language code
- Language code of the source language.
- Required.
- Possible values:
| Code | Language |
|---|---|
| ar | Arabic |
| bg | Bulgarian |
| zh-CN | Chinese (Simplified) |
| zh-TW | Chinese (Traditional) |
| hr | Croatian |
| cs | Czech |
| da | Danish |
| nl | Dutch |
| fi | Finnish |
| fr | French |
| de | German |
| el | Greek |
| hi | Hindi |
| it | Italian |
| ja | Japanese |
| ko | Korean |
| no | Norwegian |
| pl | Polish |
| pt | Portuguese |
| ro | Romanian |
| ru | Russian |
| es | Spanish |
| sv | Swedish |
See also
- {{Google translation named}} - metatemplate called by {{Google translation}} to strip white spaces off the parameters.
Furthermore, Google translation is already implemented in the following citation templates and can be activated by adding a single parameter:
External links