Mobile app version of vmapp.org
Login or Join
Hamm4606531

: How to overcome politics of the net (Google translate code refuses to work from a specific region) Possible Duplicate: How to overcome politics of the net (Google translate code refuses

@Hamm4606531

Posted in: #Css #GoogleTranslate #Html #Javascript

Possible Duplicate:
How to overcome politics of the net (Google translate code refuses to work from a specific region)




I have this Web Site. It uses the Google Translate API (Can't post the link, does not open from this region) with the following code.

<meta name="google-translate-customization" content="9f841e7780177523-3214ceb76f765f38-gc38c6fe6f9d06436-c"></meta>

<script type="text/javascript">
function googleTranslateElementInit()
{
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>


The problem is since this, it just stopped working. On the site you can see that I had to actually remove the above from here, here, and here while left it here, here, here and here. This is so because the the web site "refuses" to load at all with the pages that have the code (i.e., from this region.)

If I use Firefox Stealthy Plugin and open the site in Firefox, It works like a charm without any problems. But with Google Chrome, Apple Safari and Opera Web browser, the site does not load/open at all because of the Google translate. (I know this because If I remove the Google Translate Code, the site works/loads fine)

It was one thing to program for "cross browser compatability" and alltogether another to program for "cross region compatability".

What can I do to make sure that the site works from anywhere? Do I completely remove the Google Translate code and just have to do without the additional functionality or Do I look for alternatives like this or according to this?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm4606531

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme