[android-developers] Localization support of messages coming from server

2012-07-11 Thread Reddy
Hi All, I am creating an application which supports multiple languages. Everything is fine for static string data. But how can i handle the messages coming from server to display in corresponding language. Regards, Murali -- You received this message because you are subscribed to the Google

Re: [android-developers] Localization support of messages coming from server

2012-07-11 Thread Justin Anderson
Not sure if this is the best way, but this would work: 1. Each message on the server needs to be translated into all supported languages (just as the static strings are in your app). 2. Change each web request that returns a user-visible message to indicate the language that should

Re: [android-developers] Localization support of messages coming from server

2012-07-11 Thread Francisco M. Marzoa Alonso
Probably the best way is to do l10n in the server side also as Justin suggest. But if you can't, you may try another approach if messages from server are limited and has no variable parameters, using a HashMapString, Integer so each server string message is mapped to a resource id. But note this