I have tested this page in IE, Firefox, and Google Chrome. It works in all except IE. Can someone please tell me how to fix this, I have tried just about everything I could for 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 selecting a language it shows the choice picked but never completes the translation.. But works in FireFox and Google Chrome. IE just sits at 0% and just keeps spinning. Is anyone else experiencing the same issue?
The error it throws in the console when switching languages is this:
XMLHttpRequest: Network Error 0x2f1c, Could not complete the operation due to error 00002f1c.
I have tried many things even going as far as 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!!
I would comment if i had enough rep.
I have the same issue, works fine on Chrome and Firefox but it just fails on IE.
An alternative is the Microsoft Bing translator http://www.microsoft.com/translator/getstarted.aspx.
If anyone could help us that would be appreciated