Template:Translate with google

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Use:

{{translate with google}}
{{translate with google|sl=hi|tl=zh-hans}}

Parameters:

  • sl = source language code (BCP47 code used by Google) for the language used in the page where this template is used.
  • tl = target language code (BCP47 code used by Google) to display for the automatic translation performed by Google.

Note:

  • Google still uses internally some deprecated codes like "jw", "zh-CN" and "zh-TW", the template uses the recommended codes "jv", "zh-hans" and "zh-hant" also accepted by Google). or correct display of the language name in the template, the template uses the recommended codes (so that the language name matches the one displayed by Google in its UI).

See also: