Microsoft Translator Widget is not appearing correctly on side bar
-
1. I generated the below code from Microsoft Translator website.
Translate this page
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 = ((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>2. I then added a Text widget to the side bar and pasted this code and clicked save.
3. When I see in the blog, the widget is not appearing correctly. Infact, after pasting the code in the text widget, it is automatically deleting few portion of this code and keeping the rest as shown below.Translate this page
Powered by Microsoft® Translator</div> /* */Can you please suggest steps for adding the Microsoft Translator to my sidebar.
Regards
SandeepThe blog I need help with is: (visible only to logged in users)
-
We can’t use Microsoft or Google translation widgets as they are JavaScript and it’s stripped out to preserve security on this multiuser blogging platform. http://en.support.wordpress.com/code/
http://en.support.wordpress.com/code/#javascriptHowever, I have translation on my WordPress.com blogs. There are two workarounds and you will find them here > http://onecoolsitebloggingtips.com/2011/02/14/translation-widget-for-wordpress-com-blogs/
- The topic ‘Microsoft Translator Widget is not appearing correctly on side bar’ is closed to new replies.