I am rookie in Translations
I am trying to translate the simple strings for instance "Hello how are you" to french
Translation is working. But if I consider a parameter contenType as "text/plain" and actually add the tags such as <b>Hello how are you</b> and translate it will retrun <b>french text</b>. And if I consider contentType
as "text/html" I again get the same result that is <b>french text</b>.
I would like to know what is the actual difference between "text/plain" and "text/html" when both are returning me the same result.
My code is below
uri As
String =
"http://api.microsofttranslator.com/v2/Http.svc/Translate?&text=" & System.Web.HttpUtility.UrlEncode(srcText)
& "&from=" & from &
"&to=" & [to] &
"&contentType=" & contentType
Thanks