翻訳
英語から日本語、日本語から英語の変換を行うWebサービスです。
var appId = “EYEaQthgRaG3OUc8ffNlpCXtjYHikDnA52Lj515hBeM=”;
$.ajax({
type: “GET”,
url: “http://api.microsofttranslator.com/V2/Ajax.svc/Translate”,
dataType: “jsonp”,
data: {
appId: appId,
text: “Hello, world!”,
from: “en”,
to: “ja”
},
jsonp: “oncomplete”,
success: function (data, dataType) {
alert(data);
}
});