开发者

Android internationalization

I am planning to internationalize my Android app such that the user can choose the language that he wants. However, I will be providing an xml file for the translated words from my server when a client wants to switch from the default language. What is the best way of incorporating this internationalization methodology in Andr开发者_如何学Gooid?


First thing, from what I recall, it would be difficult to load language specific xml from server. Android design allows you to package these string into xml file and load them from that file stored in res folder. Dynamic loading from server may be harder and not recommended.

You can read up in detail about Android's guidelines for that here.

I would also recommend using a professional translating company, it worked well for us but YMMV.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜