0% found this document useful (0 votes)
2K views

F

The document contains code for initializing Google Translate functionality on a page. It includes functions for loading scripts and stylesheets, checking for namespaces, and setting up the required namespaces. It also contains constants for paths to images and scripts needed for the Google Translate widget.

Uploaded by

Freddy Melgarejo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views

F

The document contains code for initializing Google Translate functionality on a page. It includes functions for loading scripts and stylesheets, checking for namespaces, and setting up the required namespaces. It also contains constants for paths to images and scripts needed for the Google Translate widget.

Uploaded by

Freddy Melgarejo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

(function(){var gtConstEvalStartTime = new Date();function d(b){var

a=document.getElementsByTagName("head")[0];a||
(a=document.body.parentNode.appendChild(document.createElement("head")));a.appendCh
ild(b)}function _loadJs(b){var
a=document.createElement("script");a.type="text/javascript";a.charset="UTF-
8";a.src=b;d(a)}function _loadCss(b){var
a=document.createElement("link");a.type="text/css";a.rel="stylesheet";a.charset="UT
F-8";a.href=b;d(a)}function _isNS(b){b=b.split(".");for(var
a=window,c=0;c<b.length;++c)if(!(a=a[b[c]]))return!1;return!0}
function _setupNS(b){b=b.split(".");for(var a=window,c=0;c<b.length;+
+c)a.hasOwnProperty?a.hasOwnProperty(b[c])?a=a[b[c]]:a=a[b[c]]={}:a=a[b[c]]||
(a[b[c]]={});return a}window.addEventListener&&"undefined"==typeof
document.readyState&&window.addEventListener("DOMContentLoaded",function()
{document.readyState="complete"},!1);
if (_isNS('google.translate.Element')){return}(function(){var
c=_setupNS('google.translate._const');c._cest =
gtConstEvalStartTime;gtConstEvalStartTime = undefined;c._cl='es-
419';c._cuc='googleTranslateElementInit';c._cac='';c._cam='';c._ctkk=eval('((functi
on(){var a\x3d3712926381;var b\x3d-3353953495;return 425226+\x27.\x27+(a+b)})
())');var h='translate.googleapis.com';var
s=(true?'https':window.location.protocol=='https:'?'https':'http')+'://';var
b=s+h;c._pah=h;c._pas=s;c._pbi=b+'/translate_static/img/te_bk.gif';c._pci=b+'/
translate_static/img/te_ctrl3.gif';c._pli=b+'/translate_static/img/
loading.gif';c._plla=h+'/translate_a/l';c._pmi=b+'/translate_static/img/
mini_google.png';c._ps=b+'/translate_static/css/
translateelement.css';c._puh='translate.google.com';_loadCss(c._ps);_loadJs(b+'/
translate_static/js/element/main_es.js');})();})();

You might also like