ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB9: UNICODE, Multi-Lingual Responses

Post new topic  Reply to topic
 IIB9: UNICODE, Multi-Lingual Responses « View previous topic :: View next topic » 
Author Message
akil
PostPosted: Sat Dec 20, 2014 5:50 am    Post subject: IIB9: UNICODE, Multi-Lingual Responses Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
akil
PostPosted: Sat Dec 20, 2014 1:56 pm    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

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 .

http://stackoverflow.com/questions/4659929/how-to-use-utf-8-in-resource-properties-with-resourcebundle
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IIB9: UNICODE, Multi-Lingual Responses
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.