È soltanto un Pokémon con le armi o è un qualcosa di più? Vieni a parlarne su Award & Oscar!

tutte le videochat gratis su FITFREE link di videochat gratis senza registrazione in italia e nel mondo

BOOKLET GOOGLE - per tradrre le pagine del vs sito

  • Messaggi
  • OFFLINE
    abacca
    Post: 403
    Sesso: Maschile
    00 27/02/2011 11:21
    BOOKLET DI GOOGLE mi hanno dato la possibilità di tradurre le mie pagine automaticamente (sn riuscito a farlo funzionare in firefox 4.0 e Chrome, non funz ancora in IE 6 e 8, funziona con explorer 9);

    posto il codice html che ho usato;

    funzionamento: preleva le immagini delle bandiere da siti esterni (quindi se cambiano l'indirizzo dell'immagine dovrete cambiarlo o inserirne uno nuovo); la lingua cambia inserendo in righe del codice specifiche la sigla corrispondente (per trovare le sigle vi link anche l'indirizzo); fate bene attenzione a cambiarla in ambedue i punti del codice altrimenti non funziona.

    ecco il codice per l'inglese; scomposto e integrato con i commenti miei:

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|

    qui sotto c'è la variabile della lingua en = inglese

    en&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|

    qui sotto c'è la variabile della lingua en = inglese

    en&tbb=1&ie='+e;};>

    quella che segue è la variabile dell'immagine della bandiera

    <img src="http://www.33ff.com/flags/S_flags/flags_of_United-Kingdom.gif" width="20" high="20" border=" 1 "></a>

    nel post senguente inserisco il codice integrale del menù che ho inserito io
    [Modificato da abacca 08/05/2011 13:41]
  • OFFLINE
    abacca
    Post: 403
    Sesso: Maschile
    00 27/02/2011 11:27
    ecco il codice integrale
    eccolo il codice integrale
    per inserire altre lingue copiate un blocco e modificate le sigle e la bandiera; nel post successivo vi do un paio di link utili per le sigle delle lingue e per le immagini delle bandiere

    inglese

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|en&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|en&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_United-Kingdom.gif" width="20" high="20" border=" 1 "></a>

    francese

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|fr&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|fr&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_France.gif" width="20" high="20" border=" 1 "></a>

    tedesco

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|de&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|de&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_Germany.gif" width="20" high="20" border=" 1 "></a>

    spagnolo castigliano

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|es&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|es&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_Spain.gif" width="20" high="20" border=" 1 "></a>

    portoghese

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|pt&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|pt&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_Portugal.gif" width="20" high="20" border=" 1 "></a>

    arabo

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|ar&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|ar&tbb=1&ie='+e;};><img src="http://flagspot.net/images/i/int-al1.gif" width="20" high="20" border=" 1 "></a>

    cinese mandarino

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|zh&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|zh&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_China.gif" width="20" high="20" border=" 1 "></a>

    giapponese

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|ja&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|ja&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_Japan.gif" width="20" high="20" border=" 1 "></a>

    russo

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|ru&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|ru&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_Russia.gif" width="20" high="20" border=" 1 "></a>

    indiano (hindi)

    <a href=javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){l&#111;cati&#111;n&#46;href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|hi&tbb=1&ie='+e;}else{l&#111;cati&#111;n&#46;href='http://translate.google.com/translate?u='+encodeURIComponent(l&#111;cati&#111;n&#46;href)+'&hl=en&langpair=auto|hi&tbb=1&ie='+e;};><img src="http://www.33ff.com/flags/S_flags/flags_of_India.gif" width="20" high="20" border=" 1 "></a>
    [Modificato da abacca 27/02/2011 11:59]
  • OFFLINE
    abacca
    Post: 403
    Sesso: Maschile
    00 27/02/2011 11:33
    eccovi i link utili per la barra delle lingue
    qui un link per vedere le sigle delle lingue

    www.cinziapieri.it/siglelingue.html

    qui il link per vedere le bandiere

    www.33ff.com/flags/bandiere-mondo0001.html

    qui la lista di bookmarklets di google

    blogoscoped.com/archive/2007-06-13-n19.html

    aggiornata al 2007