since Google translate api will stop working i’m trying to implement some jquery code to translate text, but i can’t make it working
One simple example of this api is here
As you can see the return result is a string with the language that is detected.
Τhis is my code, should i try a post/get method?
I’m really confused with this stuff
$(document).ready(function() {
$.ajax({
url: "http://api.microsofttranslator.com/v2/ajax.svc/Detect?appId=xxxxxxxxxxxxxxxxxxxxxxxx&text=A+hola+muchos",
data: msg,
success: function(msg){
alert( msg);
}
});
});
i have managed to make it work 🙂
For anyone who eve wants to use this try out: