Usage
editThis template creates an external link to a Google Translate page, which can translate the text from a Web page in a source language to a destination language. Syntax:
{{Google translation|destination language code|source language code|URL of page to translate|link text}}
If you leave the link text
argument blank, “Google translation” appears as the default text.
Some URLs that contain special characters, such as &
or =
, will break the template. The solution is to prepend the URL with 3=
, for example {{Google translation|ru|en|3=http://www.example.org/this-url-contains-=}}
resulting in Google translation
The following languages below are available in any pairings, with their language code [1]. (As of March 26, 2021):
See Google Translate for updates to the list of available languages.
Avoid using in articles
editWP:EL#Non-English language content advises against linking to non-English content from articles in the English Wikipedia, but does not forbid it in all cases. Links to machine-translated pages from articles may lead to disputes with other editors, who may feel the quality of translation is insufficient to create a reliable source. Therefore, use your judgment, and check the quality of translation to make sure it is adequate to use as a source.
There should be no problem with using this template on non-article pages, such as talk pages, the Help desk, and so on. See the similar advice for template such as {{Google}}.
Examples
editType this | To get this |
---|---|
{{Google translation|en|zh-CN|https://zh.wikipedia.org|Translate the Chinese Wikipedia to English}} |
Translate the Chinese Wikipedia to English |
{{Google translation|en|da|https://da.wikipedia.org|Translate the Danish Wikipedia to English}} |
Translate the Danish Wikipedia to English |
{{Google translation|en|nl|https://nl.wikipedia.org|Translate the Dutch Wikipedia to English}} |
Translate the Dutch Wikipedia to English |
{{Google translation|en|de|https://de.wikipedia.org|Translate the German Wikipedia to English}} |
Translate the German Wikipedia to English |
{{Google translation|en|it|https://it.wikipedia.org|Translate the Italian Wikipedia to English}} |
Translate the Italian Wikipedia to English |
{{Google translation|en|pt|https://pt.wikipedia.org|Translate the Portuguese Wikipedia to English}} |
Translate the Portuguese Wikipedia to English |
{{Google translation|en|es|https://es.wikipedia.org|Translate the Spanish Wikipedia to English}} |
Translate the Spanish Wikipedia to English |
{{Google translation|es|en|https://en.wikipedia.org|Translate the English Wikipedia to Spanish}} |
Translate the English Wikipedia to Spanish |
{{Google translation|pt|en|https://en.wikipedia.org|Translate the English Wikipedia to Portuguese}} |
Translate the English Wikipedia to Portuguese |
{{Google translation|it|en|https://en.wikipedia.org|Translate the English Wikipedia to Italian}} |
Translate the English Wikipedia to Italian |
{{Google translation|ar|en|https://en.wikipedia.org|Translate the English Wikipedia to Arabic}} |
Translate the English Wikipedia to Arabic |
See also
edit- {{machinetranslate}} - a "links to automatic translations" template that does more than Template:Google_translation.
- {{rough translation}} - to tag articles whose text seems to be generated through machine translation
- WP:EIW#Transl - Editor's index to Wikipedia, links to resources for translation
- {{Google}}
- {{Google books}}
- {{Google custom}}
- {{Google help desk}}
- {{Google images}}
- {{Google LC}} (Google—excluding Language, Country)
- {{Search for}}
- {{Find sources}}
- {{Google scholar}}
- {{Google Scholar ID}} - for individual profiles
- {{Google trends}}
- {{Google translation}}
- {{Google Wikipedia}}
- {{Help desk searches}}
- {{Translate wikipedia}}
- {{HD/GKG}} - for people asking about the information in a Google search, the Google Knowledge Graph