Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个需要支持两种语言Hindi/English的 Android 应用程序。我能够将整个应用程序 UI 转换为印地语,但问题是我不知道如何从 edittext 中获取印地语字符或字符串。
因为我以一般方式获取数据:
String userName=_userEdt.getText().toString();
但是用户名字符串在印地语模式下不包含任何数据。如何从edittext中获取हिन्दी之类的单词。
Download the hindi font “mangal.ttf” supported file and copy it in your font folder, which is created in assets folder. Try this way for implementing multilingual support in app development.