Geoplugin字符串结果为德语单词/语言
问题描述:
我使用此插件(enter link description here)获取使用jQuery的站点访问者的国家/地区。但是我想将字符串结果转换成德语。因此,例如字符串结果是菲律宾,那么转换后的字符串应该是“Philippinen”。Geoplugin字符串结果为德语单词/语言
// Get Country Name(http://www.geoplugin.com/webservices/javascript)
var country = geoplugin_countryName();
$('.countryName').html(country);
是否有插件或服务可以得到这种结果? 在此先感谢...
答
您可以使用必应每月允许多达2,000,000个字符的免费层的必应翻译API。
据我所知,这是唯一免费的翻译API。
https://www.microsoft.com/en-us/translator/getstarted.aspx