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
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
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
3 matches
Mail list logo