如何获得印地文键盘Android中/翻译成印地文文本编程 [英] How to get Hindi Keyboard/translate into hindi text programatically in Android

查看:151
本文介绍了如何获得印地文键盘Android中/翻译成印地文文本编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发Android平板电脑的应用程序,我创建了下面的查询,动态,但没有得到回应的文字印地文。
<一href=\"http://stackoverflow.com/questions/8006418/how-to-dynamically-convert-and-show-data-in-hindi-in-android\">How动态地在印地文在转换和数据显示的Andr​​oid

I am developing an application in Android Tablet , i created below query to get hindi text dynamically but no response. How to dynamically Convert and show data in Hindi in Android

如果这是不可能的,至少指导我如何可以编程方式在我的小蜜蜂电话平板获得印地文虚拟接口的键盘。
要不然我需要英文翻译成动态的印地文的,我已经知道,如果我使用谷歌翻译API :我们可以做到这一点,但在我的案件的大部分时间我的应用程序将工作的没有任何互联网/网络所以在这种情况下,我不能使用谷歌翻译所以任何一个可以告诉我任何其他的选择,我有......

If it's not possible at least guide me how can i programatically get Hindi Virtual Keboard in my Bee tel Tablet. Or else i need to translate English into hindi dynamically for that i already know if i use Google Translator API we can do this but in my case most of the time my application will work without any internet/network so in that case i can't use google translator so can any one tell me any other alternatives i have....

请给我回复,对于每一个有价值的答案,我会给荣誉...

Please give me reply,for every valuable answer i will give Kudos...

推荐答案

如果您对此次认认真真的,使用的音译API从谷歌

If you are really serious about this, use the transliteration api from Google.

它的支付,它使用的是免费的。

It's paid, it used to be free.

我觉得你应该在这里纠缠谷歌一>

I think you should go and pester Google here.

同时你可以尝试使用的 ICU4J ?,似乎支持梵文音译

Meanwhile can you try using icu4j ?, it seems to support Devanagari transliteration

<一个href=\"http://icu-project.org/apiref/icu4j/com/ibm/icu/text/Transliterator.html#transliterate%28java.lang.String%29\"相对=nofollow> ICU4J音译API

myTrans = new Transliterator("Latin-Devanagari", null);
String output = myTrans.transliterate(myString);

这篇关于如何获得印地文键盘Android中/翻译成印地文文本编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆