Eclipse 的 sequoyah 插件中的翻译服务
我已经在eclipse中安装了sequoyah插件。我正在使用它的编辑器来翻译 Android 项目中的 strings.xml 文件。现在,当我右键单击 sequoyah 文本编辑器中的列并单击“翻译列”时,我会看到一个窗口,其中显示选择翻译服务、翻译源语言和翻译目标语言。但我无法选择任何翻译服务,因为列表中没有。那么如何安装翻译服务才能按照上面定义的方式使用呢?
I have installed sequoyah plugin in eclipse. I am using its editor to translate my strings.xml file in Android project. Now when I right click the column in sequoyah text editor and click on 'translate column', I get the window which shows to select translator service, language to translate from and language to translate to. But I can not select any translator service as there is none in the list. So how can I install the translator service so that I can use in the way defined above?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道的唯一实现是 Android 版 MOTODEV Studio 附带的实现,使用 Google Translate API v2。不幸的是,这是一项付费服务,需要您拥有访问 API 的密钥,而您必须从 Google 服务中获取该密钥。
不过,通过 Sequoyah 添加新翻译人员非常简单。它包括通过提供一个类来实现其扩展点之一(org.eclipse.sequoyah.localization.tools.translator),该类包含一些接收要翻译的字符串列表的方法,通过使用您选择的翻译服务进行实际翻译,并返回结果。一旦你让你的 Eclipse 运行起来,你会看到它出现在选择翻译服务的下拉列表中:)
希望它有帮助!
The only implementation I know is the one that comes with MOTODEV Studio for Android, using Google Translate API v2. Unfortunately, this is a paid service and requires you have a key for accessing the API, which you have to get from Google services.
The addition of new translators, though, is quite simple to do through Sequoyah. It consists of implementing one of their extension points (org.eclipse.sequoyah.localization.tools.translator) by providing a class that contains some methods that receive lists of strings to translate, do the actual translation by using a translating service of your choice, and return the results. Once you get your Eclipse running with this, you'll see it show up on the drop down list for choosing the translator service :)
Hope it helps!