How to Remove Openning and Clsong div's in Translate Method Call
GoogleCodeExporter opened this issue · 1 comments
GoogleCodeExporter commented
It appears the MS API Translate Method call is wrapping the text to be
translated with a <div></div>, I think this is hosing some of our translations.
How to I get rid of this? I'm not sending HTML, I'm sending phrases with no
HTML in them.
Original issue reported on code.google.com by pmalbri...@gmail.com
on 30 Nov 2011 at 3:56
GoogleCodeExporter commented
The situation is a bit complicated, and there isn't any perfect solution for it
(see issue #75). I think maybe the best thing to do now would be to use
"text/html" with the MS API, and translate the whole page in one request:
$("body").translate("en", "de", {limit:Infinity});
Unfortunately, this isn't going to work in IE:
http://support.microsoft.com/kb/208427
Original comment by balazs.endresz
on 30 Nov 2011 at 5:34