Template:Google translation

From WikiQueer, the free encyclopedia and resource for the lesbian, gay, bisexual, transgender, questioning, queer, and ally communities
Jump to: navigation, search

Google translation

[edit] [history] [purge] Documentation icon Template documentation

Contents

[edit] Usage

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 following the dash. (As of August 13, 2008):

  • Arabic – ar
  • Bulgarian – bg
  • Chinese (Simplified) – zh-CN
  • Chinese (Traditional) – zh-TW (only available as a destination language)
  • Croatian – hr
  • Czech – cs
  • Danish – da
  • Dutch – nl
  • English – en
  • Finnish – fi
  • French – fr
  • German – de
  • Greek – el
  • Hindi – hi
  • Italian – it
  • Japanese – ja
  • Korean – ko
  • Norweigan – no
  • Polish – pl
  • Portuguese – pt
  • Romanian – ro
  • Russian – ru
  • Spanish – es
  • Swedish – sv

Some are in BETA version, and all of them provide translations which quality is not as good as a professional translation. However, these translations are useful to get a rough idea of the original document. See Google Translate for updates to the list of available languages.

[edit] Examples

Type this To get this What it produces
{{Google translation|es|en|http://wikiqueer.org|Translate the English WikiQueer to Spanish}} Translate the English WikiQueer to Spanish Translate the English WikiQueer to Spanish
{{Google translation|pt|en|http://wikiqueer.org|Translate the English WikiQueer to Portuguese}} Translate the English WikiQueer to Portuguese Translate the English WikiQueer to Portuguese
{{Google translation|it|en|http://wikiqueer.org|Translate the English WikiQueer to Italian}} Translate the English WikiQueer to Italian Translate the English WikiQueer to Italian
{{Google translation|ar|en|http://wikiqueer.org|Translate the English WikiQueer to Arabic}} Translate the English WikiQueer to Arabic Translate the English WikiQueer to Arabic

[edit] See also

[edit] External links

  • ((English) FAQ)