Difference between revisions of "Template:Google translation link"
m (fix syntax) |
(Tooltips: language names in their own language: the initial character is (more) often not capitalized; zh-CN, zh-TW (simplified, traditional) but MediaWiki shows these by the country name that mainly uses each... I'll show it in both ways) |
||
Line 16: | Line 16: | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=ar <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=ar <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=ar&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=ar&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE=" | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="čeština (Czech)"><!-- |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=cs <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=cs <!-- | ||
--><span style="background-color:#def;"> cs </span>]<!-- | --><span style="background-color:#def;"> cs </span>]<!-- | ||
Line 26: | Line 26: | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=cy <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=cy <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=cy&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=cy&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE=" | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="dansk (Danish)"><!-- |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=da <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=da <!-- | ||
--><span style="background-color:#def;"> da </span>]<!-- | --><span style="background-color:#def;"> da </span>]<!-- | ||
Line 46: | Line 46: | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=en <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=en <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=en&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=en&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE=" | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="español (Spanish)"><!-- INTERNATIONAL |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=es <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=es <!-- | ||
--><span style="background-color:#def;"> es </span>]<!-- | --><span style="background-color:#def;"> es </span>]<!-- | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=es <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=es <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=es&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=es&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE=" | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="suomi (Finnish)"><!-- |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=fi <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=fi <!-- | ||
--><span style="background-color:#def;"> f i </span>]<!-- | --><span style="background-color:#def;"> f i </span>]<!-- | ||
Line 66: | Line 66: | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=ga <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=ga <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=ga&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=ga&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE=" | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="italiano (Italian)"><!-- |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=it <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=it <!-- | ||
--><span style="background-color:#def;"> it </span>]<!-- | --><span style="background-color:#def;"> it </span>]<!-- | ||
Line 86: | Line 86: | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=nl <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=nl <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=nl&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=nl&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE=" | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="português (Portuguese)"><!-- |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=pt <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=pt <!-- | ||
--><span style="background-color:#def;"> pt </span>]<!-- | --><span style="background-color:#def;"> pt </span>]<!-- | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=pt <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=pt <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=pt&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=pt&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE=" | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="русский (Russian)"><!-- INTERNATIONAL |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=ru <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=ru <!-- | ||
--><span style="background-color:#def;"> ru </span>]<!-- | --><span style="background-color:#def;"> ru </span>]<!-- | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=ru <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=ru <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=ru&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=ru&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="中文(简) (Chinese ‹simplified›)"><!-- INTERNATIONAL | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="中文(简)(中国大陆) (Chinese ‹simplified›)"><!-- INTERNATIONAL |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=zh-CN <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=zh-CN <!-- | ||
--><span style="background-color:#def;"> zh<small>-CN</small> </span>]<!-- | --><span style="background-color:#def;"> zh<small>-CN</small> </span>]<!-- | ||
-->[http://translate.google.com/translate?sl={{{1|en}}}&tl=zh-CN <span style="color:#ddd;">■</span>]<!-- | -->[http://translate.google.com/translate?sl={{{1|en}}}&tl=zh-CN <span style="color:#ddd;">■</span>]<!-- | ||
-->[http://translate.google.com/translate?sl=zh-CN&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | -->[http://translate.google.com/translate?sl=zh-CN&tl={{{1|en}}} <span style="color:#adb;">■</span>]</span><!-- | ||
− | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="中文(繁) (Chinese ‹traditional›)"><!-- | + | -->| <span style="white-space:nowrap;" lang="{{{1|en}}}" TITLE="中文(繁)(台湾) (Chinese ‹traditional›)"><!-- |
-->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=zh-TW <!-- | -->[http://translate.google.com/translate?u=http%3A//wiki.worldnakedbikeride.org/index.php%3Ftitle%3D{{NAMESPACEE}}:{{PAGENAMEE}}&sl={{{1|en}}}&tl=zh-TW <!-- | ||
--><span style="background-color:#def;"> zh<small>-TW</small> </span>]<!-- | --><span style="background-color:#def;"> zh<small>-TW</small> </span>]<!-- |
Revision as of 10:15, 1 May 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 ■■
User manualTo put the English text hereunder in another language, click its 2-character code in the above series.
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: The blueish code shows the whole page with (at least) the parts translated that were written in the language corresponding to the code immediately behind 'Google translate'; the gray square prepares Google for letting you either paste a beforehand copied selection, or type a text, and get it translated to the clicked language; for this same method but from this language to the one up front, use the green square . Pointing at the code immediately behind 'Google translate' shows thát language name (only in that language), provided it is known to this wiki's software (which is independent from Google); else it simply repeats the code. Only upon noticing this imperfection, ideally the name of that language in that language should be passed as an extra parameter, to be shown as the tooltip.
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 (One may concatenate several calls, without any Html or wiki markup):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 a (or the only) language in the calling page. It may be, but does not need to be one from the constant series of the template, and thus allows easily preparing a ride at a new location of which Google recognizes the code for whatever local language.
3) {{Google translation link|xx|xxx xxx}} in which 'xxx xxx' is to be the name of the language corresponding to the by this wiki not recognized code, in full written in the characters and spelling of this language. This extended 3rd syntax is most exceptional, see higher. Utter perfectionists however, might as well apply it to force also in this tooltip both its autochthonal [at their responsibility] and between parentheses its English name.