Difference between revisions of "Template:Google translation link"
(The 'GOOGLE TRANSLATE' shown in the calling page links to the template page, which explains its usage and in which 'Google Translate application' links to Google Translate itself.) |
(Template forces new paragraph, dimensioned for neatly putting 2 (or more) underneath one another without needing any more mark-up in the calling page.) |
||
Line 1: | Line 1: | ||
− | < | + | <p class="plainlinks" lang="en" translate="no" style="line-height:1.25em;margin-top:-.17em;margin-bottom:.13em;font-family:Arial,Helvetica,sans-serif;font-size:.75em;"><span |
style="font-variant:small-caps;font-weight:100;color:#55a;white-space:nowrap;">[[Template:Google translation link|<span style="font-weight:100;">Google translate</span>]] <span | style="font-variant:small-caps;font-weight:100;color:#55a;white-space:nowrap;">[[Template:Google translation link|<span style="font-weight:100;">Google translate</span>]] <span | ||
style="font-size:110%;font-variant:normal;font-weight:700;">{{{1|<span title="English">en</span>}}}</span> <span | style="font-size:110%;font-variant:normal;font-weight:700;">{{{1|<span title="English">en</span>}}}</span> <span | ||
Line 106: | Line 106: | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=zh-TW <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=zh-TW <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=zh-TW&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=zh-TW&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | --></span></span></ | + | --></span></span></p><noinclude><div lang="en" translate="yes"><div style="display:none;"><nowiki> |
Template edit information: | Template edit information: | ||
Revision as of 13:23, 6 April 2020
Google translate en page to (or text to or from ): af ■■| ar ■■| cs ■■| cy ■■| da ■■| de ■■| el ■■| en ■■| es ■■| f i ■■| fr ■■| ga ■■| it ■■| ja ■■| mi ■■| nl ■■| pt ■■| ru ■■| zh-CN ■■| zh-TW ■■
The language codes recognized by the Google Translate application, generally follow the ISO 639-1 standard (e.g. 'en' for English), for only a few special cases with a region identifier suffix (e.g. 'zh-CN' and 'zh-TW') — see Google's list of Web Interface Language Codes.
This template lists only languages of considerable international importance, and the ones of locations where a ride ever took place (or recently became proposed). Merely pointing at a code in the series, shows the relevant language name written in that language (and in English); a click on either of its 3 tiny items, launches the proper translator.
Calling the template from near the top of (or elsewhere in) a page, facilitates its translation, or such of a to be copy/pasted section. The from link ■ of one's native language may assist editing a page written in another language. Syntax:1) {{Google translation link}} which assumes an 'en' page (i.e. the calling page is at least partially written in English)
2) {{Google translation link|xx}} in which 'xx' is to be the ISO 639-1 code (exceptionally with regional suffix) of the (or a) language in the calling page. It does not need to be one of the template, which thus allows easily preparing a ride at a new location of which Google recognizes the code for whatever local language.