Jump to content
Wikipedia The Free Encyclopedia

Template:Google translation

From Wikipedia, the free encyclopedia

Google translation

Template documentation[view] [edit] [history] [purge]

Usage

[edit ]

This 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):

List of available languages
  1. Afrikaans af
  2. Albanian sq
  3. Amharic am
  4. Arabic ar
  5. Armenian hy
  6. Assamese as
  7. Azerbaijani az
  8. Basque eu
  9. Belarusian be
  10. Bengali bn
  11. Bosnian bs
  12. Bulgarian bg
  13. Burmese my
  14. Catalan ca
  15. Cebuano ceb (ISO-639-2)
  16. Chewa ny
  17. Chinese (Simplified) zh or zh-TW (BCP-47)
  18. Chinese (Traditional) zh-CN (BCP-47)
  19. Corsican co
  20. Croatian hr
  21. Czech cs
  22. Danish da
  23. Dutch nl
  24. English en
  25. Esperanto eo
  26. Estonian et
  27. Filipino (Tagalog) tl
  28. Finnish fi
  29. French fr
  30. Galician gl
  31. Georgian ka
  32. German de
  33. Greek el
  34. Gujarati gu
  35. Haitian Creole ht
  36. Hausa ha
  37. Hawaiian haw (ISO-639-2)
  38. Hebrew he or iw
  39. Hindi hi
  40. Hmong hmn (ISO-639-2)
  41. Hungarian hu
  42. Icelandic is
  43. Igbo ig
  44. Indonesian id
  45. Irish ga
  46. Italian it
  47. Japanese ja
  48. Javanese jv
  49. Kannada kn
  50. Kazakh kk
  51. Khmer km
  52. Kinyarwanda rw
  53. Korean ko
  54. Kurdish (Kurmanji) ku
  55. Kyrgyz ky
  56. Lao lo
  57. Latin la
  58. Latvian lv
  59. Lithuanian lt
  60. Luxembourgish lb
  61. Macedonian mk
  62. Malagasy mg
  63. Malay ms
  64. Malayalam ml
  65. Maltese mt
  66. Maori mi
  67. Marathi mr
  68. Mongolian mn
  69. Nepali ne
  70. Norwegian (Bokmål) no
  71. Odia or
  72. Pashto ps
  73. Persian fa
  74. Polish pl
  75. Portuguese pt
  76. Punjabi (Gurmukhi) pa
  77. Romanian ro
  78. Russian ru
  79. Samoan sm
  80. Scottish Gaelic gd
  81. Serbian sr
  82. Shona sn
  83. Sindhi sd
  84. Sinhala si
  85. Slovak sk
  86. Slovenian sl
  87. Somali so
  88. Sotho st
  89. Spanish es
  90. Sundanese su
  91. Swahili sw
  92. Swedish sv
  93. Tajik tg
  94. Tamil ta
  95. Tatar tt
  96. Telugu te
  97. Thai th
  98. Turkish tr
  99. Turkmen tk
  100. Ukrainian uk
  101. Urdu ur
  102. Uyghur ug
  103. Uzbek uz
  104. Vietnamese vi
  105. Welsh cy
  106. West Frisian fy
  107. Xhosa xh
  108. Yiddish yi
  109. Yoruba yo
  110. Zulu zu

See Google Translate for updates to the list of available languages.

Avoid using in articles

[edit ]

WP: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

[edit ]
Type 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 ]
[edit ]
The above documentation is transcluded from Template:Google translation/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.

AltStyle によって変換されたページ (->オリジナル) /