Searching...
Friday, 26 July 2013

How to Make Your Blog Speak More Languages

I speak and write English (Americanised English, for you Brits). Until this weekend, my blogs were all published in English, and in English only. Thanks to the Kaspersky fiasco of Friday(Kaspersky is a Russian product), however, I was motivated to correct that shortcoming.

This was, surprisingly, an easier task than I had anticipated. If you will examine the sidebar, you will observe my multi-lingual translator, courtesy of Google Translator. It provides on the fly translation of the currently displayed web page, and whatever web pages that are subsequently loaded from following any links. It provides translation from English, to any of(as of 2013/02/05) 65 different languages. You can see the enumeration of the available languages here, in the code - or you can move the mouse over each flag, and check out the popup tags.

The translator applet code is surprisingly compact, and expandable with additional languages. It's well defined too - "<form ... > ... </form>" is the entire package. Stretch the browser window widely enough, so you can see all of the text, please. And be very careful of anygratuitous line breaks.

<form action="http://www.google.com/translate">

<script language="javascript" type="text/javascript">

<!--

document.write ("<input name=u value="+location.href+" type=hidden>")

// -->

</script>

<noscript><input value="http://cumulus.nitecruzr.net/" name="u" type="hidden"/></noscript>

<input value="en" name="hl" type="hidden"/>

<input value="UTF8" name="ie" type="hidden"/>

<input value="" name="langpair" type="hidden"/>

<input title=" Afrikaans | South Africa | Afrikaans " value="en|af"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/StLizqawtEI/AAAAAAAAAhk/aGuY6R70tNw/s320/South+Africa+af_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Shqip | Albania | Albanian " value="en|sq"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/SulXteeOTLI/AAAAAAAAApU/zzVdH9EYg3Q/s320/Albania+sq_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" հայերեն | Armenia | Armenian " value="en|hy"
src="http://2.bp.blogspot.com/-W7D7Za5isok/Tt2KnltUdII/AAAAAAAAFLQ/mPws5vWdKL0/s320/Armenian%2Bhy_%2Bflag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px; " width="30" name="langpair"/>

<input title=" العربية | Saudi Arabia | Arabic " value="en|ar"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/358406/gse_multipart12399.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Azərbaycan  | Azerbaijan | Azerbaijani " value="en|az"
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhvYxqF40msLHPh1-mGHPzntVHv2zHY77Hga0qx7sowBMGHWARObH5VSPnOpnlZf8PAXNIkQItMdxndUPy6lg9ae7QW7EoMPq3FUy84eRWJzjqSPtFI5HLMg-k8za6RMsarZuhqNuacWzD/s1600/Azerbaijan.az.flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Euskara | Basque Country | Basque " value="en|eu"
src="http://2.bp.blogspot.com/-v4bj6zNNOx8/Tt2Kn_fb4sI/AAAAAAAAFLo/jbrLhkNUDiM/s320/Basque%2BCountry%2Beu_flag%2B2.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px; " width="30" name="langpair"/>

<input title=" Беларуская | Belarus | Belarusian " value="en|be"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/StRavKvYSqI/AAAAAAAAAic/Mf3R1Dx51CY/s320/Belarus+be_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" বাংলা | Bangladesh | Bengali " value="en|bn"
src="http://3.bp.blogspot.com/-yPOn4bv3Tuw/Ttg9SxKJD8I/AAAAAAAAFLE/vn2tK5dS-8g/s1600/Bangladesh.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px; " width="30" name="langpair"/>

<input title=" Português | Brazil | Portuguese " value="en|pt"
src="http://1.bp.blogspot.com/-SszcoxN7x2U/TtgjMa2ty4I/AAAAAAAAFK4/invh7eCSAKQ/s1600/Brazil%2Bbr_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" български | Bulgaria | Bulgarian " value="en|bg"    
src="http://2.bp.blogspot.com/-HCYlnjvvqXQ/UQ-TwFTkEAI/AAAAAAAAFmc/yJ5sdg349N8/s1600/Bulgaria%2Bbg%2Bflag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Català | Andorra | Catalan " value="en|ca"    
src="http://2.bp.blogspot.com/-XmSBchMAmEY/UQ-YHMR4eYI/AAAAAAAAFmw/g7JEwDDGb9M/s1600/Andorra%2B-%2BCatalan.%2B%2Bda.%2Bflag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" 中文(简体)| China | Chinese (Simplified) " value="en|zh-CN"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/546049/gse_multipart12397.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" 中文(繁體) | China | Chinese (Traditional) " value="en|zh-TW"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/208681/gse_multipart12398.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Hrvatski | Croatia | Croatian "  value="en|hr"   
src="http://4.bp.blogspot.com/-Ewiie0npl3M/URAS8VyME8I/AAAAAAAAFnE/HwlCC2bThaQ/s1600/Croatia.hr.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Čeština | Czech Republic | Czech " value="en|cs"   
src="http://4.bp.blogspot.com/-Fx5vNXNmGRU/URAU33x-KrI/AAAAAAAAFnQ/lXBrRT99Ve8/s1600/Czech_Republic.cz.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Dansk | Denmark | Danish " value="en|da"
src="http://2.bp.blogspot.com/-bvOQeqC7h3I/URAW3esi3MI/AAAAAAAAFnc/J-6kng2pVQ4/s1600/Denmark.dk.flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Nederlands | Netherlands | Dutch "  value="en|nl"   
src="http://3.bp.blogspot.com/-w4lul2m6axI/URAZUWTXj9I/AAAAAAAAFno/q5F3OpCYJhw/s1600/Netherlands.nl.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" English | United Kingdom | English " value="en|en"
src="http://4.bp.blogspot.com/_AKSZkmXmrnc/SuU4xptKkfI/AAAAAAAAAnk/nk9JgVc_C-I/s320/United+Kingdom+uk_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Esperanto  | Esperanto | Esperanto " value="en|eo"
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQN1UD18ud8KsTmkYHY-DDlvuBbS9uuqDaw4Pe65G1Vm6i-OXrZ6WvEtfRs30xzGJcaHqNXXSzG3gn-gBdWwuIebc6d1fUFqW7xFZvmZInhyevuBokhRgFvPaseaZX06Yw_nPuYk2VGSBy/s1600/Esperanto.eo.flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Eesti | Estonia | Estonian " value="en|et"
src="http://2.bp.blogspot.com/_AKSZkmXmrnc/StT4ASM2ZsI/AAAAAAAAAis/PmQSwtOQNLc/s320/Estonia+et_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Suomea | Finland | Finnish "  value="en|fi"   
src="http://3.bp.blogspot.com/-jOjTYDYcORE/URAa-C045oI/AAAAAAAAFn0/VLSGIf5bAVg/s1600/Finland.fi.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20"style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Français | France | French " value="en|fr"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/327620/gse_multipart12413.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Galego | Galicia | Galician " value="en|gl"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/StfhOOzBp9I/AAAAAAAAAks/qinFZhMlyd8/s320/Galicia+gl_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" საქართველო | Georgia | Georgian " value="en|ka"
src="http://4.bp.blogspot.com/_AKSZkmXmrnc/StcYKte4fCI/AAAAAAAAAkM/OT0Ka44NxBY/s320/Georgia+ge_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px; " width="30" name="langpair"/>

<input title=" Deutsch | Germany | German " value="en|de"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/734899/gse_multipart12400.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Ελλάς | Greece | Greek " value="en|el"
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6DzSljTsZtHn9wIp3sybz_zEtzUvmIQpU5yiCL-bZqtD2ilKETmszAt1UGBX0a2wXn-_CmwkrV2gqaMNtWMaP5NN5UBmc1hRPJftW2kQ1LN7ffrqp2APOc9aRVoGMHKxLOLshfceS2MSm/s320/Greek+Flag+36x24.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Kreyòl ayisyen | Haiti | Haitian Creole " value="en|ht"
src="http://2.bp.blogspot.com/_AKSZkmXmrnc/TBhgm6fUYbI/AAAAAAAAB4o/DidcfgV9A7o/s1600/Haiti+Creole+ht_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" עברית | Israel | Hebrew " value="en|iw"    
src="http://4.bp.blogspot.com/-857UiinU6GA/URAkNp03poI/AAAAAAAAFoM/H3eCPhSK_4o/s1600/Israel.il.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Magyarország | Hungary | Hungarian " value="en|hu"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/StRtqlXKToI/AAAAAAAAAik/R38R7O52aDU/s320/Hungary+hu_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Íslande | Iceland | Icelandic " value="en|is"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/SteuRylaOeI/AAAAAAAAAkc/eRI7XsLEz34/s320/Iceland+is_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" हिन्दी | India | Hindi " value="en|hi"   
src="http://4.bp.blogspot.com/-o9baXqasnbY/URAmxu9D1vI/AAAAAAAAFog/nFAQ72IEncI/s1600/India.in.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" ગુજરાતી | India | Gujurati " value="en|gu"   
src="http://4.bp.blogspot.com/-o9baXqasnbY/URAmxu9D1vI/AAAAAAAAFog/nFAQ72IEncI/s1600/India.in.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" ಕನ್ನಡ | India | Kannada " value="en|kn"   
src="http://4.bp.blogspot.com/-o9baXqasnbY/URAmxu9D1vI/AAAAAAAAFog/nFAQ72IEncI/s1600/India.in.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" తెలుగు | India | Telugu " value="en|te"   
src="http://4.bp.blogspot.com/-o9baXqasnbY/URAmxu9D1vI/AAAAAAAAFog/nFAQ72IEncI/s1600/India.in.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" اردو | India | Urdu " value="en|ur"   
src="http://4.bp.blogspot.com/-o9baXqasnbY/URAmxu9D1vI/AAAAAAAAFog/nFAQ72IEncI/s1600/India.in.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Indonesia | Indonesia | Bahasa Indonesian " value="en|id"  
src="http://3.bp.blogspot.com/-iebG-eopl2g/URAoV9MJiLI/AAAAAAAAFos/aQo2o5W-ros/s1600/Indonesia.id.flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20"style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Gaeilge | Ireland | Irish " value="en|ga"
src="http://2.bp.blogspot.com/_AKSZkmXmrnc/SugR7i9pedI/AAAAAAAAAoU/HG7Sod0eQdQ/s320/Ireland+ie_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Italiano | Italy | Italian " value="en|it"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/306145/gse_multipart12401.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" 日本語 | Japan | Japanese " value="en|ja"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/443122/gse_multipart12402.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Kiswahili | Kenya | Kiswahili " value="en|sw"
src="http://2.bp.blogspot.com/_AKSZkmXmrnc/Sugd4gdlhQI/AAAAAAAAAok/Pyselb6uWtE/s320/Kenya+ke_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" 한국어 | Korea | Korean " value="en|ko"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/581031/gse_multipart12403.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Latviešu | Latvia | Latvian " value="en|lv"   
src="http://1.bp.blogspot.com/-ixXE8W-sjbU/URAqMSY1YEI/AAAAAAAAFo4/w9zaIHK3Bv4/s1600/Latvia.lv.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Lietuviškai | Lithuania | Lithuanian " value="en|lt"   
src="http://2.bp.blogspot.com/-taul66x8QsI/URArYRRuZ2I/AAAAAAAAFpE/Rs0tTs14E_A/s1600/Lithuania.lt.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Македонски | Macedonia | Macedonian " value="en|mk"
src="http://1.bp.blogspot.com/_AKSZkmXmrnc/SumJcBVBZpI/AAAAAAAAApk/kY7CqDLy-Y4/s320/Macedonia+mk_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Bahasa Melayu | Malaysia | Bahasa Malay " value="en|ms"
src="http://4.bp.blogspot.com/_AKSZkmXmrnc/StVfgdeTNAI/AAAAAAAAAjE/7Vcnxzvy0eE/s320/Malaysia+ms_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Malti | Malta | Maltese " value="en|mt"
src="http://1.bp.blogspot.com/_AKSZkmXmrnc/StVnV4GqUAI/AAAAAAAAAjM/UUE5FAHZdyA/s320/Malta+mt_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Norsk | Norway | Norwegian " value="en|no"  
src="http://3.bp.blogspot.com/-cCJ6g1-2dIY/URAsxng6fJI/AAAAAAAAFpQ/zjADA2D6pRI/s1600/Norway.no.flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" فارسی | Persia | Farsi / Persian " value="en|fa"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/Sul5V-oc-6I/AAAAAAAAApc/1YIKlfK7L70/s320/Iran+fa_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Polska | Poland | Polish " value="en|pl"
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih_qYXymPhJez202OLgBYFJrd234woWY-HLkN9uFSLGsFuAISPx0mX1xxNhZH3zdeabalBjVxypqumLK5VLOeYvW3rxlLpMNLfhLXECCNSv4MH5I-JdKrTmhqj6bo34tHansUCZ60_54si/s320/Polish+Flag+36x24.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Português | Portugal | Portuguese " value="en|pt"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/670301/gse_multipart12404.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Română | Romania | Romanian " value="en|ro"
src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh18Xp68bpoLPEL3Rdzo-eM2OH8qJ7BfQBqCJ-3_cifNvjNHktCSzjpM1lkxwO0ExmRRf5C0PYRsxLjnEMjNbGoGYQnBW3pqXnrhbusmYuNH0B1OSw8zMd-gctr6OwO8FTZGvDwxOq4Zwiw/s320/Romainian+Flag+36x24.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Русском | Russia | Russian " value="en|ru"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/111692/gse_multipart12405.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Cрпски | Serbia | Serbian " value="en|sr"   
src="http://4.bp.blogspot.com/-4fg_z8d4Wys/URA3ke8MYPI/AAAAAAAAFpc/fDbatr6pSAc/s1600/Serbia.rs.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Slovenský | Slovakia | Slovak "  value="en|sk"   
src="http://4.bp.blogspot.com/-ChKhP8iWQd8/URA3kkhDPuI/AAAAAAAAFpo/yld9GoCW0C0/s1600/Slovakia.sk.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Slovensko | Slovenia | Slovenian "  value="en|sl"   
src="http://4.bp.blogspot.com/-MYEjpXNOaoA/URA3lJJVQkI/AAAAAAAAFp0/aN7IVVnYfPk/s1600/Slovenia.sl.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Español | Spain | Spanish " value="en|es"
src="http://photos1.blogger.com/x/blogger2/6075/564571464515337/1600/z/998398/gse_multipart12407.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" தமிழ் | Sri Lanka | Tamil " value="en|ta"
src="http://3.bp.blogspot.com/-c4guJth1I_U/Tt2KoZ-WCUI/AAAAAAAAFL4/XT7zSSdbc3c/s320/Sri%2BLanka.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Sverige | Sweden | Swedish "  value="en|sv"    
src="http://1.bp.blogspot.com/-uPkpSxUDT-4/URA6qfptcKI/AAAAAAAAFqA/vlyjJ3zgyOw/s1600/Sweden.se.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" Tagalog | Philippines | Tagalog " value="en|tl"   
src="http://3.bp.blogspot.com/-E0voo_iD314/URA6qrB20WI/AAAAAAAAFqM/oF8oc5H5iGQ/s1600/Philippines.ph.flag.png" 
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"  width="30" name="langpair"/>

<input title=" ภาษาไทย | Thailand | Thai " value="en|th"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/StKoTKbCsMI/AAAAAAAAAg8/JfICxQ5m6yk/s320/Thailand+-+th_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Türkçe | Turkey | Turkish " value="en|tr"
src="http://2.bp.blogspot.com/_AKSZkmXmrnc/StLWW4Zyu6I/AAAAAAAAAhU/FU5iu_D0TLQ/s320/Turkish+-+tr_flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Український | Ukraine | Ukrainian " value="en|uk" 
src="http://3.bp.blogspot.com/-X97YdOZMLyg/URA9PvvSwOI/AAAAAAAAFqY/EMnrpA0i5qU/s1600/Ukraine.ua.flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" tiếng Việt | Vietnam | Vietnamese " value="en|vi"
src="http://4.bp.blogspot.com/-IbnoMZYDrGY/URA9QOLh5UI/AAAAAAAAFqk/uZlSGs-9rHM/s1600/Vietnam.vn.flag.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" Cymraeg | Wales | Welsh " value="en|cy"
src="http://4.bp.blogspot.com/_AKSZkmXmrnc/SugQR0g60cI/AAAAAAAAAoM/rmVA-1LvU4g/s320/Wales.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;" width="30" name="langpair"/>

<input title=" ייִדיש | Jewish | Yiddish " value="en|yi"
src="http://3.bp.blogspot.com/_AKSZkmXmrnc/SupeM9if5gI/AAAAAAAAAp8/1gp_kA_Mhnk/s320/Yiddish_Star.png"
onclick="this.form.langpair.value=this.value" type="image" height="20" style="border: 1px solid rgb(21, 22, 5); padding: 3px;"width="30" name="langpair"/>

</form>

<a href="http://blogging.nitecruzr.net/2008/02/make-your-blog-speak-more-languages.html"><span style="font-weight:bold;">What Are These?</span></a>

This entry requires just 3 unique elements.

  • When you hover the mouse over the flag, you see
    العربية / Arabic
  • The definition of English to Arabic translation is
    en|ar
  • The picture of the Arabic flag, resized to 30px x 20px, in 1600 pixels resolution, is
    http://photos1.blogger.com/x/blogger2/
    6075/564571464515337/1600/z/358406/gse_multipart12399.png

Each of the other language entries, similarly, require another corresponding 3 unique elements. The array of flags are universal language symbols, that are obvious to the inhabitants of the various countries, so they need no captions.

If you want your blog to reach the world, I can't think of an easier way to encourage that to happen.

  • Add a new HTML / JavaScript gadget.
  • Highlight, Copy, then Paste the code ("<form ... > ... </form>"), exactly as presented above, directly into the Content window in the new HTML / JavaScript gadget. Do not copy anything into Notepad, or any other word processor that might have trouble with the UTF-8 character set. The code above includes UTF-8 characters, in the Asian language labels - if you try to save anything as ANSI, you will get a warning, and possible code corruption.
  • Make one simple change - correct the blog URL, to identify your blog (in this example, "myblog.blogspot.com").
    <noscript><input value="http://cumulus.nitecruzr.net/" name="u" type="hidden"/></noscript>
    change to
    <noscript><input value="http://myblog.blogspot.com/" name="u" type="hidden"/></noscript>
  • Save.
  • Test, and admire, your new world ability.

And next, I will note that the setup described above translates from English into other languages. If your blog is written in, let's say, French, you'll want Cumulus In Your Language. Additional languages are in progress.

For a more detailed discussion about this exciting blog accessory, see Roberto's Report:Language Translator Set-up.

For the official Google Translated Language Pairs list, see Google Translate FAQ: Language Pairs, and for a description of the language codes, see WikiPedia: ISO 639-1. Be advised that my applet above won't always be 100% up to date; but if you spot a new language in the Google list, that isn't in my applet, and let me know, I'll do my best to add it.

0 comments:

Post a Comment

 
Back to top!