martes, 8 de marzo de 2011

Traductor para Blogger con Banderas

Este tutorial consta en integrar a Blogger un traductor con banderas por idioma, este traductor es mucho mejor que el traductor por defecto que trae Blogger, aunque trabajan de la misma manera, este es estéticamente mejor.

Este traductor contiene una lista de 12 idiomas, entre los que se encuentran:
  • Inglés
  • Francés
  • Alemán
  • Español
  • Italiano
  • Holandés
  • Ruso
  • Portugués
  • Japonés
  • Koreano
  • Árabe
  • Chino Simplificado
Vista previa del traductor:

¿Cómo obtener este traductor?:

Primero, vamos a ''Diseño/Elementos de la página'' en donde agregaremos un Gadget:

Buscamos ''HTML/Javascript'':

En donde pegaremos el siguiente código:

<style>
.google_translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
.google_translate:hover img {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
.google_translatextra:hover img {
filter:alpha(opacity=0.30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
</style>
<div>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXJJ7_fMSnCEMoWtRmPIbHQuCH5tQoI0BGRjtL7fLlEstqsqHEEHcDOi-8w_qSJjK_OJpaZD3K-Vac0upDXDB_qheaFXiJk1WPd3ehOqaRGEiXxnwhq0UtCBXEyS126cy-gzCwUzm3vNE/s200/United+Kingdom(Great+Britain).png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUCgcJuAYTlbe7rHjcAhAqAc0UsTMmSRpMo8gGhPs0GDa6klsYUCSiiO8290tSvbcxNpi5Rj23Kz2B-1zEeXNDjyB3G9mj81rxgF7iNNPzUWHPMrRyN8IryQmNC_pqUnKF_ph7wXw6Y9o/s200/France.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3KUF3qIL1Oci0K7_VRFY_Qwa4wdRYBhNUHDv8kCbt8CovT1V9MV1uh7LEivXZ8pxKceYJYMI2foDhyphenhyphenZaRKNNoS2m26Pv6dxADM_pkBk0zDYQmoO-Dt8RDreq04FZiN9lLCwwQYClgHC4/s200/Germany.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjbuOEaQH_D_msY4NxeGMc-bfPBDAte9LxtWF0v8vQzF7BnrAY-rGxu9aNvle_FHnrBWSM2NW-RlyfudR4ImHbuYnXuNX8WsFUU7gTH-0lKfV3rtUX80XFu-scKNT4gzIp3UarDBhr9mw/s200/Spain.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjntYoUDy0uQYoHI00AFucoeMI0nY0R7bSC1fl2Ffh0sU-zny45xI-kfUjlfhEhUZW8LC6DsJiVADqUogrEi3hyphenhyphenZV0hxorLvZB0Vy9HlgVJl9n7sTJcgi-XFFmpSPv4yNCllWGpVHIW6UI/s200/Italy.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHwNuUSKTC6u1_9ydTs7pps8ZNkgxow-egSEnObq8o5PZ12ztIJFIVtRilfhSwJsQDjyXxkN8Dt9ZzIZbyWNdEPphqwI7ziChgRd5d1QHgpvJeiew-wM-8fQdpmbxzoWqGslWYQleXjdM/s200/Netherlands.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYEZOq5QRToS-3kOgjghu25LmHMym05Y4fauhRRcNfMnIvhejh0pqlpTDWDIW2DyzaczYAET95RLPzs_l1rBUw2yGWbwm-BmTSOqhkr1Ff7M9NbyNxemshPCfkAWztDCj141k7LloOzfQ/s200/Russian+Federation.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkin9tQBWRO-aLWeNo5ateqYSPPjRQsIbbkppYGhPG3-0CY-z2BHBru8OI-Knf_f0WSGQBbnUM_4Gv63GCyTZKgMidZPoTf4tkpCM8VztOU5pt-CkbQB5c86AzHl3vDuMedvw51teVlng/s200/Brazil.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj804iiH6plsUsItzVk9OCcTfs5zfSF5is9PgqT0B0vE3Q4GeiciX9RjTjkboaY3z77cdswHj35f02YGIyNBMKW6a_2zQ5wwX-gsxjIfIfk84xryHHbs5hobxQq-mnKBPt-Q367SoVmS34/s200/Japan.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYaNgInXImxQwANn9yWgCjPa_ab4wd0Cg4pzWC25p36n0E6lqRMbUDrumxPOSyaYZ2rdR8gye315UBuWECaye2Fn-Wl3TYxRjVvU-taIFoOw24-XP-Rjoz1LTMxtTqR4H2qR5cDOFHCbI/s200/South+Korea.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMsqOquj1x35YIlYwqM73n12sdQQo64t70Wd9TsJDxVHz6cpWnaKsKiXCKxr7Orn5BumzPz9XT-qrYrIZ1opxMt-f-82cNiffxtVaUt1wPKfqI57SYKWRz5IOvWdzKKZ7Bl8WnDy-46nI/s200/Saudi+Arabia.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN4HuGQM2tkphQT13Y28JuF0i46M8RvgN0vpQtVPuAsqLB03-lWv4IgQzaEkfxqsn6sxmNewemy1l9OQp2lVBJyoAl2qHVmq-vb3JlEjU2UdonHy44EXju7umCCkYIoE3oOhWGRHv0mX0/s200/China.png" style="cursor: pointer;margin-right:8px" width="24"/></a> </div>
<div 0px 0pxâ?? style="â??font-size:10px;margin:8px" 3px></div>

<br/>

Guardas los cambios y listo:

No hay comentarios:

Publicar un comentario