Google Translate : Traduction de votre site/blog en plusieurs langues (fin)

Publié le par lolond

Pour vous faire plaisir, nous vous présentons le module complet de la traduction de votre site/blog en utilisant Google Translate :

                           

Code HTML de l'image :
<img src="http://flagcounter.com/images/factbookflags/uk-flag.gif" title="Anglais" 
style="cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/gm-flag.gif" title="Allemand"
style="cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp; 
<img src="http://flagcounter.com/images/factbookflags/it-flag.gif" title="Italien"
style="cursor:pointer; cursor:hand;" height="35" width="35"   /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/sp-flag.gif" title="Espagnol"
style="cursor:pointer; cursor:hand;" height="35" width="35" /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/vm-flag.gif" title="Vietnamien"
style="cursor:pointer; cursor:hand;" height="35" width="35" />&nbsp;
<img src="http://flagcounter.com/images/factbookflags/ja-flag.gif"title="Japonais" 
style="cursor:pointer; cursor:hand;" height="35" width="35"   /> &nbsp;&nbsp; 
<img src="http://flagcounte
r.com/images/factbookflags/ks-flag.gif" title="Coréen"style="cursor:pointer; cursor:hand;" height="35" width="35" /> &nbsp;&nbsp; 
<img src="http://flagcounter.com/images/factbookflags/rs-flag.gif" title="Russe"
style="cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/ch-flag.gif" title="Chinois" 
style="cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/sa-flag.gif" title="Arabe"
style="cursor:pointer; cursor:hand;" height="35" width="35"
/> <br /><br />

Par la suite aller sur le site Google Translate :
  Google Translate.

Saisir l'URL de votre site & noter les adresses pour différents langue :
http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=en

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=de

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=it

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=es

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=vi

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ko

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ja

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ru

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=zh

http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ar

Voilà tous les éléments sont là, il vous suffit de coder la procédure "onclick" sur l'image de la forme :
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=en'); return false;"

Vous remplacez les chaînes en "marron" par l'adresse de votre site/blog et l'abréviation du langue que vous voulez traduire (ici : en, de, it, es, vi,  ja, ko, ru, zh, ar).

Le codage finalement est :
<img src="http://flagcounter.com/images/factbookflags/uk-flag.gif" title="Anglais" onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=en'); return false;" style="cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/gm-flag.gif" title="Allemand"
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=de'); return false;"style="cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp; 
<img src="http://flagcounter.com/images/factbookflags/it-flag.gif" title="Italien"
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=it'); return false;"style="cursor:pointer; cursor:hand;" height="35" width="35"   /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/sp-flag.gif" title="Espagnol"
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=es'); return false;" style="cursor:pointer; cursor:hand;" height="35" width="35" /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/vm-flag.gif" title="Vietnamien"
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=vi'); return false;" style="cursor:pointer; cursor:hand;" height="35" width="35" />&nbsp;
<img src="http://flagcounter.com/images/factbookflags/ja-flag.gif"title="Japonais" 
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ja'); return false;" style="cursor:pointer; cursor:hand;" height="35" width="35"   /> &nbsp;&nbsp; 
<img src="http://flagcounte
r.com/images/factbookflags/ks-flag.gif" title="Coréen"
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ko'); return false;" style="cursor:pointer; cursor:hand;" height="35" width="35" /> &nbsp;&nbsp; 
<img src="http://flagcounter.com/images/factbookflags/rs-flag.gif" title="Russe"
style="
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ru'); return false;" cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/ch-flag.gif" title="Chinois"
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=zh'); return false;" style="cursor:pointer; cursor:hand;" height="35" width="35"  /> &nbsp;&nbsp;
<img src="http://flagcounter.com/images/factbookflags/sa-flag.gif" title="Arabe"
onclick="window.open('http://translate.google.com/translate?js=y&prev=_t&hl=fr&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fkhanh-blog.over-blog.com%2F&sl=fr&tl=ar'); return false;" style="cursor:pointer; cursor:hand;" height="35" width="35" /> <br /><br />

                         

En conclusion, ceci n'est qu'un gadget en allant sur le site Google Translate et saisisant  votre l'URL, vous pouvez traduire votre site/blog en toutes les langues supportées par Google Translate.

Voir aussi :
  Comment traduire votre site/blog en n'importe quel langage par Google Translate.
  Horloge : Industorious clock.
  FeedFlash Gadget : Gadget en flash - Résumé des articles de votre blog.
  Module Paypal pour over-blog type "Confiance" amélioré!
√  ClockLink : Horloge pour Site/Blog
etc ...

Publié dans WIDGET-GADGET(S)

Pour être informé des derniers articles, inscrivez vous :

Commenter cet article