Coloro che avessero già visitato il mio sito forse avranno visto delle bandierine che permettevano la traduzione in quattro lingue più una (Americano)

Adesso ho deciso di ampliare le possibilità sempre basandomi sulla traduzione automatica messa a disposizione da Google. Considerando che questo gran numero di bandiere poteva generare confusione ho aggiunto la possibilità di visualizzare il testo che indica la lingua quando il mouse punta quella prescelta. Basterà copiare il codice qui sotto ed inserirlo nel proprio sito per avere automaticamente le proprie pagine tradotte in 25 lingue diverse.
<a href="http://www.google.com/translate?u=http%3A%2F%2FUrl del sito senza http://%2F&hl=it&ie=UTF8&langpair=it%7Cen&langpair.x=0&langpair.y=3&langpair=it%7Cen" title="English (United States)"> <img src="http://www.flags.net/images/smallflags/UNST0001.GIF"/></a>
<a href="http://www.google.com/translate?u=http%3A%2F%2FUrl del sito senza http://%2F&hl=it&ie=UTF8&langpair=it%7Cen&langpair.x=0&langpair.y=3&langpair=it%7Cen" title="English (United Kingdom"> <img src="http://www.flags.net/images/smallflags/UNKG0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|fr&u=Url del sito/" title="French"> <img src="http://www.flags.net/images/smallflags/FRAN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|es&u=Url del sito/" title="Spanish"> <img src="http://www.flags.net/images/smallflags/SPAN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|de&u=Url del sito/" title="German"> <img src="http://www.flags.net/images/smallflags/GERM0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|zh-CN&u=Url del sito/" title="Simplified Chinese"> <img src="http://www.flags.net/images/smallflags/CHIN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|pt-BR&u=Url del sito/" title="Portugese (Brasil)"> <img src="http://www.flags.net/images/smallflags/BRAZ0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ja&u=Url del sito/" title="japanese"> <img src="http://www.flags.net/images/smallflags/JAPA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|el&u=Url del sito/" title="Greek"> <img src="http://www.flags.net/images/smallflags/GREC0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|da&u=Url del sito/" title="Danish"> <img src="http://www.flags.net/images/smallflags/DENM0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|fi&u=Url del sito/" title="Finnish"> <img src="http://www.flags.net/images/smallflags/FINL0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|hr&u=Url del sito/" title="Croatian"> <img src="http://www.flags.net/images/smallflags/CROA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|nl&u=Url del sito/" title="Dutch"> <img src="http://www.flags.net/images/smallflags/NETH0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|hu&u=Url del sito/" title="Hungarian"> <img src="http://www.flags.net/images/smallflags/HUNG0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ko&u=Url del sito/" title="Korean"> <img src="http://www.flags.net/images/smallflags/CORC0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|pl&u=Url del sito/" title="Polish"> <img src="http://www.flags.net/images/smallflags/POLA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|sv&u=Url del sito/" title="Swedish"> <img src="http://www.flags.net/images/smallflags/SWDN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ru&u=Url del sito/" title="Russian"> <img src="http://www.flags.net/images/smallflags/RUSS0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|uk&u=Url del sito/" title="Ukrainian"> <img src="http://www.flags.net/images/smallflags/UKRN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ar&u=Url del sito/" title="Arabic"> <img src="http://www.flags.net/images/smallflags/SAAR0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ro&u=Url del sito/" title="Romanian"> <img src="http://www.flags.net/images/smallflags/RMNA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|sr&u=Url del sito/" title="Serbian"> <img src="http://www.flags.net/images/smallflags/SERB0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|pt-PT&u=Url del sito/" title="Portuguese (Portugal)"> <img src="http://www.flags.net/images/smallflags/PORT0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|cs&u=Url del sito/" title="Czech"> <img src="http://www.flags.net/images/smallflags/CZEC0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|sk&u=Url del sito/" title="Slovak"> <img src="http://www.flags.net/images/smallflags/SLVA0001.GIF"/></a>
Basterà immettere l'indirizzo del vostro sito al posto di Url del sito e copiare il codice nel punto che credete più opportuno. Nei primi due blocchi di codice che riguardano la lingua inglese in versione americana ed in versione Regno unito l'URL deve essere inserito senza i canonici http://. Naturalmente possono essere eliminate le lingue che non interessano ed eventualmente aggiungerne altre. La sintassi è la seguente
<a href="http://www.google.com/translate_c?langpair=lingua di partenza|lingua di arrivo&u=Url del sito/" title="nome della lingua"> <img src="indirizzo immagine bandiera"/></a>
Al posto di lingua di partenza e di lingua di arrivo si inserisce il codice relativo che può essere ricavato da questa pagina in cui sono elencate tutte le lingue (quaranta) che Google riesce a tradurre. Per quanto riguarda l'indirizzo dell'immagine della bandiera in questo sito la troverete certamente. Se avete Firefox per completare la traduzione va cliccato su Permetti quando c'è la redirezione della pagina.
Se questo widget serva effettivamente per aumentare le visite è tutto da discutere, ma vedere il blog tradotto in cinese, giapponese o arabo, perlomeno a me, dà una soddisfazione non di poco conto.

Adesso ho deciso di ampliare le possibilità sempre basandomi sulla traduzione automatica messa a disposizione da Google. Considerando che questo gran numero di bandiere poteva generare confusione ho aggiunto la possibilità di visualizzare il testo che indica la lingua quando il mouse punta quella prescelta. Basterà copiare il codice qui sotto ed inserirlo nel proprio sito per avere automaticamente le proprie pagine tradotte in 25 lingue diverse.
<a href="http://www.google.com/translate?u=http%3A%2F%2FUrl del sito senza http://%2F&hl=it&ie=UTF8&langpair=it%7Cen&langpair.x=0&langpair.y=3&langpair=it%7Cen" title="English (United States)"> <img src="http://www.flags.net/images/smallflags/UNST0001.GIF"/></a>
<a href="http://www.google.com/translate?u=http%3A%2F%2FUrl del sito senza http://%2F&hl=it&ie=UTF8&langpair=it%7Cen&langpair.x=0&langpair.y=3&langpair=it%7Cen" title="English (United Kingdom"> <img src="http://www.flags.net/images/smallflags/UNKG0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|fr&u=Url del sito/" title="French"> <img src="http://www.flags.net/images/smallflags/FRAN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|es&u=Url del sito/" title="Spanish"> <img src="http://www.flags.net/images/smallflags/SPAN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|de&u=Url del sito/" title="German"> <img src="http://www.flags.net/images/smallflags/GERM0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|zh-CN&u=Url del sito/" title="Simplified Chinese"> <img src="http://www.flags.net/images/smallflags/CHIN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|pt-BR&u=Url del sito/" title="Portugese (Brasil)"> <img src="http://www.flags.net/images/smallflags/BRAZ0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ja&u=Url del sito/" title="japanese"> <img src="http://www.flags.net/images/smallflags/JAPA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|el&u=Url del sito/" title="Greek"> <img src="http://www.flags.net/images/smallflags/GREC0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|da&u=Url del sito/" title="Danish"> <img src="http://www.flags.net/images/smallflags/DENM0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|fi&u=Url del sito/" title="Finnish"> <img src="http://www.flags.net/images/smallflags/FINL0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|hr&u=Url del sito/" title="Croatian"> <img src="http://www.flags.net/images/smallflags/CROA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|nl&u=Url del sito/" title="Dutch"> <img src="http://www.flags.net/images/smallflags/NETH0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|hu&u=Url del sito/" title="Hungarian"> <img src="http://www.flags.net/images/smallflags/HUNG0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ko&u=Url del sito/" title="Korean"> <img src="http://www.flags.net/images/smallflags/CORC0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|pl&u=Url del sito/" title="Polish"> <img src="http://www.flags.net/images/smallflags/POLA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|sv&u=Url del sito/" title="Swedish"> <img src="http://www.flags.net/images/smallflags/SWDN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ru&u=Url del sito/" title="Russian"> <img src="http://www.flags.net/images/smallflags/RUSS0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|uk&u=Url del sito/" title="Ukrainian"> <img src="http://www.flags.net/images/smallflags/UKRN0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ar&u=Url del sito/" title="Arabic"> <img src="http://www.flags.net/images/smallflags/SAAR0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|ro&u=Url del sito/" title="Romanian"> <img src="http://www.flags.net/images/smallflags/RMNA0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|sr&u=Url del sito/" title="Serbian"> <img src="http://www.flags.net/images/smallflags/SERB0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|pt-PT&u=Url del sito/" title="Portuguese (Portugal)"> <img src="http://www.flags.net/images/smallflags/PORT0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|cs&u=Url del sito/" title="Czech"> <img src="http://www.flags.net/images/smallflags/CZEC0001.GIF"/></a>
<a href="http://www.google.com/translate_c?langpair=it|sk&u=Url del sito/" title="Slovak"> <img src="http://www.flags.net/images/smallflags/SLVA0001.GIF"/></a>
Basterà immettere l'indirizzo del vostro sito al posto di Url del sito e copiare il codice nel punto che credete più opportuno. Nei primi due blocchi di codice che riguardano la lingua inglese in versione americana ed in versione Regno unito l'URL deve essere inserito senza i canonici http://. Naturalmente possono essere eliminate le lingue che non interessano ed eventualmente aggiungerne altre. La sintassi è la seguente
<a href="http://www.google.com/translate_c?langpair=lingua di partenza|lingua di arrivo&u=Url del sito/" title="nome della lingua"> <img src="indirizzo immagine bandiera"/></a>
Al posto di lingua di partenza e di lingua di arrivo si inserisce il codice relativo che può essere ricavato da questa pagina in cui sono elencate tutte le lingue (quaranta) che Google riesce a tradurre. Per quanto riguarda l'indirizzo dell'immagine della bandiera in questo sito la troverete certamente. Se avete Firefox per completare la traduzione va cliccato su Permetti quando c'è la redirezione della pagina.
Se questo widget serva effettivamente per aumentare le visite è tutto da discutere, ma vedere il blog tradotto in cinese, giapponese o arabo, perlomeno a me, dà una soddisfazione non di poco conto.
Nessun commento:
Posta un commento