简体   繁体   English

将语言翻译应用于Android应用程序

[英]apply language translation to Android application

I want to apply language translator to my application. 我想将语言翻译器应用于我的应用程序。 in that json response data also being converted to selected language. 在该json响应数据中也将转换为选定的语言。 for that localization is not useful for me because it only converts what i declare in resource file. 因为本地化对我来说没有用,因为它只会转换我在资源文件中声明的内容。

And google translator not provide unlimited word translation per day 和谷歌翻译不提供每天无限的单词翻译

I'm also looking for a solution on this. 我也在寻找解决方案。 I've got suggestions from my colleague, but I've not tested them if they work. 我从同事那里得到了一些建议,但是我没有测试它们是否有效。 Here is what they say: 他们说的是:

  • Use unicode for your data wherever it is stored. 无论数据存储在哪里,都应使用unicode。
  • Send unicode data in json. 在json中发送unicode数据。
  • Use a unicode font in your android app that converts the data to the local language on the fly. 在您的android应用中使用unicode字体,可将数据即时转换为本地语言。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM