开源语言翻译器 API - 用于 Java 应用程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13697960/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Open Source Language Translator API - For Java Application
提问by LGAP
Can anyone suggest a good open source language translator which could be used for translations from English to Spanish/German?
谁能推荐一个好的开源语言翻译器,它可以用于从英语到西班牙语/德语的翻译?
I am expecting a good reliable API to translate labels and messages in my application which I can easily implement. Please suggest!
我期待一个良好可靠的 API 来翻译我可以轻松实现的应用程序中的标签和消息。请建议!
采纳答案by user1802492
For English to Spanish conversion ,Google API can be used. You can get the jar file for Google code http://code.google.com/p/google-api-translate-java/
对于英语到西班牙语的转换,可以使用谷歌 API。您可以获取 Google 代码的 jar 文件 http://code.google.com/p/google-api-translate-java/