Localization For Android Applications


Are you still using library or write too much code to change locale for android application?

If yes, I would like to suggest to use try Per-app language preferences. It is easy to config for localization.


1 - Configure Locale

Create locales_config.xml under res/xml directory

2 - Add Configuration file to Androidmanifest.xml

Here is documentation link for details.

https://developer.android.com/guide/topics/resources/app-languages

要查看或添加评论,请登录

社区洞察

其他会员也浏览了