Template:Google translation: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New page: [http://translate.google.com/translate?u={{{1}}}&sl={{{2}}}&tl=en&hl=en&ie=UTF8 Google translation]<noinclude> {{documentation}} </noinclude>) |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}} | |||
|{{#if:{{{2|}}} | |||
|{{Google translation named|url={{{1}}}|code={{{2}}}}} | |||
}} | |||
}}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 12:25, 5 June 2008
[edit]
Template documentation
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: