I tested this page in IE, Firefox and Google Chrome. It works in all but IE. Can someone please tell me how to fix this, I tried everything I could in the last two days.
TRY THIS TEST PAGE
<html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> Hello <div id="google_translate_element"></div> <script type="text/javascript"> function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); } </script> <script type="text/javascript" src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </body> </html>
When you select a language, it displays the selected selection, but never completes the translation. But it works in FireFox and Google Chrome. IE just sits at 0% and just holds on. Does anyone else have the same problem?
The error it causes in the console when switching languages:
XMLHttpRequest: Network Error 0x2f1c, Could not complete the operation due to error 00002f1c.



I have tried many things, even if something like this:
<div id="google_translate_element"></div> <script type="text/javascript"> $.ajax({ url:"http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit", type:"POST", data:"google_translate_element", contentType:"application/json; charset=utf-8", dataType:"json", success: function googleTranslateElementInit() { new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element'); } }) </script>
Please any help would be greatly appreciated!
Zane z
source share