Google Translate object not repsonsive on mobile phone 
Autor: Ricky B.
Visitado 66,
Seguidores 2,
Compartilhado 0
I have installed the object: Google Translate. However, when users try to use it, they only see a limited number of available languages. Only part of the language list appears on their phone screens, and the rest cannot be accessed.
I’ve read about possible solutions that involve using a custom script. Unfortunately, I’m not advanced enough to apply such a solution. The instructions just say “use this script,” but they don’t explain where or how to implement it.
Could someone please help me with a clear, step-by-step explanation on how to solve this problem? Ideally, I would like all the available languages to be visible or accessible for mobile users as well. Thank you in advance!
Publicado em
A similar script was posted here in the community, but I can't find the post.
Can you please provide the address where this script can be found?
(It > En) ...Unfortunately, this is an object that has become obsolete with the introduction of translation functions implemented directly in browsers, and for this reason it has not received recent updates.
... the problem is known and the STAFF is working on a modification to make it optimally usable again, but the timing is unknown...
... if you post your LINK I can do a concrete check...
... however, if you want to continue using this same object, you can make it usable by adding this EXTRA code of mine,
to be inserted in Step 1 - Settings ---> Statistics and Code in the "Before closing the HEAD tag" section:
<script>
$( document ).ready(function() { //K>;
/** --- rilevamento - giustificazione google translator vert. x WSx5 by KolAsim --- **/
nK=0;
TGobjectK = "iframe.VIpgJd-ZVi9od-xl07Ob-OEVmcd";
//-------------------------------
rilevaK =setInterval(function(){//K1>
nK=nK+1;
gtwK = $("#google_translate_element").width();
if(gtwK > 100 || nK > 20) {//K2>;
//alert(nK); // controllo rilevamento nK
$("#google_translate_element").click(function(){//K3>;
finestraGTK();
})//K3<<;
//-------------------------------
$(TGobjectK).contents().click(function(){//K4>;
setTimeout(function(){finestraGTK();}, 500);//K5>|<<;
})//K4<<;
clearInterval(rilevaK); rilevaK = 0;
} //K2<<;
}, 500);//K1<<;
}) //K<<;
//-------------------------------
function finestraGTK(){//K8>;
hK = (window.innerHeight)-100;
setTimeout(function(){//K7>;
wrapK = '<div style="height:'+hK+'px;overflow-y:scroll"> </div>';
$(TGobjectK).contents().find("tbody").wrap(wrapK);
$(TGobjectK).contents().find("td").css("display","block ");
$(TGobjectK).contents().find("body *").css('font-size','24px');
}, 100); //K7<<;
}//K6>>;
</script>
.
ciao
.
... otherwise you can use the historical reduced code, always from Google Translate from about fifteen years ago, that you can find here:
https://helpcenter.websitex5.com/pt/post/54299#comment7
... or the full one always from Google, here:
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_google_translate
.
ciao
.