Posted: Sat Dec 20, 2014 5:50 am Post subject: IIB9: UNICODE, Multi-Lingual Responses
Partisan
Joined: 27 May 2014 Posts: 338 Location: Mumbai
Hi
In a message flow, I've to return an XML such as following
Code:
<response>
<lang>en</lang>
<somevalue>..</somevalue>
<msgText> this is where the localised response goes </msgText>
</response>
In the msgText element I've to return the message in one 10 languages (english + various indian languages), the language is picked up from the request message (it has a lang element).
What's the usual (recommended) way to localise such message?
1. pick up from a database
2. hardwired in an ESQL file
3. java resource bundle
4. message catalog
5. ..something else.
There are about 50 messages , and won't really change in production.
[/code] _________________ Regards
Tried using java resource bundles, this needs some careful conversion of the property files from UTF-8 ( the encoding in which the toolkit stores the file ), to ISO-8859-1 , which is needed to make the java code work .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum