Asked by:
Microsoft Translator widget is not working in secure pages

Question
-
Hi,
Am using microsoft translator widget http://www.microsofttranslator.com/widget/ in my web pages....it is working very fine in my http://localhost:9080/ when i delployed it ...in https://uimauat it is not working...can you please give me the solution ...Thanks in advance
Wednesday, August 8, 2012 4:13 PM
All replies
-
Hi Deshini,
We do support SSL (HTTPS), so not sure what the problem is here. Did you follow the instructions for generating the widget code? You need to specify the site address where you'll be displaying the widget.
Thanks,
Will Lewis
Microsoft Translator team
Thursday, August 9, 2012 11:10 PM -
HI ,
i am using micorsoft translator widget to my https (secured)website https://uimauat.nwd.ne.gov/BPSWeb/jsp/BPSClaimantLogin.jsp ...it is working but it displays in each page that "do you want to view only the webpage content that was delivered securely?"
Code am using
<div id="MicrosoftTranslatorWidget"
style="width: 220px; min-height:
83px; border-color:
#15374C; background-color:
#8CCBEA;"><noscript>
<a href="http://www.microsofttranslator.com/bv. "aspx?a=https%3a%2f%2fblogs. msdn.com%2fb%2ftranslation%2f >
Translate this page</a><br />Powered by
Microsoft Translator</a></noscript></div> <script type="text/javascript"> /* <![CDATA[ */ setTimeout(function() { var s = document.createElement(" script"); s.type = "text/javascript"; s.charset = "UTF-8"; s.src = "http://www. microsofttranslator.com/Ajax/ "; var p = document.getElementsByTagName(V2/Widget.aspx?siteData= Z6N2xQ1EGnakgC6d5- 2bqyN1S7TJ24NN5fvk9OWkSoHmlfMD 7d3wa9a88HhFMBlEXINImekZBe1TT8 Ivl0ckkXXyPLZr394OW9EhwJtPHSN6 1ZFmt1LJ7M8Ydl_MTa6A&mode= notify&from=en&layout=ts 'head')[0] || document.documentElement; p.insertBefore(s, p.firstChild); }, 0); /* ]]> */ </script> </div>
my question is that it displays without asking anything ?And i tried one more code also
<div id="MicrosoftTranslatorWidget" style="width: 200px; min-height: 83px; border-color: #3A5770; background-color: #78ADD0;"><noscript><a href="Translate">http://www.microsofttranslator.com/bv.aspx?a=https%3a%2f%2fuimauat.nwd.ne.gov%2fBPSWeb%2fjsp%2f">Translate this page</a><br />Powered by <a href="Microsoft">http://www.bing.com/translator">Microsoft® Translator</a></noscript></div> <script type="text/javascript"> /* <![CDATA[ */ setTimeout(function() { var s = document.createElement("script"); s.type = "text/javascript"; s.charset = "UTF-8"; s.src = ((location && location.href && location.href.indexOf('https') == 0) ? "https://ssl.microsofttranslator.com" : "http://www.microsofttranslator.com" ) + "/ajax/v2/widget.aspx?mode=manual&from=en&layout=ts"; var p = document.getElementsByTagName('head')[0] || document.documentElement; p.insertBefore(s, p.firstChild); }, 0); /* ]]> */ </script>
it is not working , can you give the code to my webpage : https://uimauat.nwd.ne.gov/BPSWeb/jsp/BPSClaimantLogin.jspThanks
Haritha
Haritha
Monday, September 24, 2012 4:21 PM -
Hi Haritha -- I tried your site, but I get a browser error because of an unknown certificate.Tuesday, September 25, 2012 2:57 PM
-
Hi Laurence-- my site doesnot work on other systems as it is private one ..but i need transaltor widget code to my webpage ..
Haritha
Tuesday, September 25, 2012 3:25 PM -
That makes it hard to see what's happening :)
Have you tried removing the translator widget from the page entirely to see if it really is the cause of the failure?
Alternatively, can you try this as an experiment:
<div id="MicrosoftTranslatorWidget" style="width: 200px; min-height: 83px; border-color: #3A5770; background-color: #78ADD0;"><noscript><br />Powered by Microsoft Translator</noscript></div> <script type="text/javascript"> /* <![CDATA[ */ setTimeout(function() { var s = document.createElement("script"); s.type = "text/javascript"; s.charset = "UTF-8"; s.src = "https://ssl.microsofttranslator.com/ajax/v2/widget.aspx?mode=manual&from=en&layout=ts"; var p = document.getElementsByTagName('head')[0] || document.documentElement; p.insertBefore(s, p.firstChild); }, 0); /* ]]> */ </script>
and let me know if it works?
- Edited by Laurence Moroney Tuesday, September 25, 2012 4:15 PM
Tuesday, September 25, 2012 4:10 PM -
translator widget is only the failure in my page ..
i tried this code also it is not working in my local also ...
Haritha
Tuesday, September 25, 2012 4:31 PM -
Can you let me know what you mean by 'not working' ?
What is the failure?
Tuesday, September 25, 2012 4:34 PM -
can i have you email id , i wil send you the print screens.
Haritha
Tuesday, September 25, 2012 6:11 PM -
lmoroney-at-hotmail-dott-comTuesday, September 25, 2012 6:43 PM
-
sent u
Haritha
Tuesday, September 25, 2012 7:07 PM -
I didn't get it...please send to mtcont@microsoft.com
Also, does this work for you:
https://ssl.microsofttranslator.com/test/
Tuesday, September 25, 2012 7:14 PM -
i only captured the errors not entire page ie.blank color in the place of widget and one more error is tp help protect your security , internet explorer has blocked this website from displaying content with security certificate errors
Haritha
Tuesday, September 25, 2012 7:22 PM -
For those reading along, the issue appears to have been caused by a firewall at the user's site causing https traffic to ssl.microsofttranslator.com to be blocked.
If you are using the widget on HTTPS, the widget pulls code from https://ssl.microsofttranslator.com, so you will need to ensure that you have a path to this site.
- Proposed as answer by Laurence Moroney Thursday, September 27, 2012 3:30 PM
Thursday, September 27, 2012 3:30 PM -
It is working in mozilla firefox in my system itself ...but not in internet explorer
Haritha
Thursday, September 27, 2012 3:46 PM