Template:Google translation
Jump to navigation
Jump to search
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage[edit source]
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[edit source]
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[edit source]
- {{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: