|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Language Translation |
« View previous topic :: View next topic » |
Author |
Message
|
jayZ |
Posted: Fri May 24, 2013 8:36 am Post subject: Language Translation |
|
|
Acolyte
Joined: 03 Jun 2008 Posts: 71
|
I have been researching different options for language translation on message broker (version 7), with no luck. Neither the infocenter nor this forum seemed to have anything relevent to what I am trying to do.
Before I ask my how-to, I would point out that I am also interesting in opinions on best practices. To be honest, I'm not sure I think this request (made by a client) is appropriate for the middleware system to do.
With that in mind, is it possible for the broker to do language translation of message payload without building an entire system around it? The last thing I want to get in to is to create some sort of language dictionary in a database or something. I've read java has functions that can do this, but didn't know if broker did (without importing the java packages).
Thoughts? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 24, 2013 8:43 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You mean, for example, translating "I am struggling programmer" into "Јас сум се борат програмер"?
Is that what you mean by "language translation"?
If so, Broker does not have any in-built facilities for this....
If you're just looking to swap predefined phrases, like "This is a database error" into the same thing in another language, then you can look at the message catalog functions that Broker has. But those only apply to errors and exceptions that your flow will produce. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Fri May 24, 2013 9:20 am Post subject: Re: Language Translation |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
>> is it possible for the broker to do language translation of message payload without building an entire system around it?
Yes.
>>language dictionary
You mean like a message set or a message model schema file ?
>>in a database
Databases can be very useful in message translations. So can Drools engines.
>>didn't know if broker did (without importing the java packages).
Whats wrong with using off-the-shelf third-party libraries?
>>language translation
Google's translate API is Web Service callable through HTTPRequest node. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
jayZ |
Posted: Fri May 24, 2013 9:46 am Post subject: |
|
|
Acolyte
Joined: 03 Jun 2008 Posts: 71
|
Thanks for the replies.
mqjeff -- I was thinking something where the client passes in a request and can receive a response in any language they prefer.
Client Sends - "Give me your name in French"
Server Replies - "My name is Jeff."
Broker Translates - "Je m'appelle Jeff." (My French is beyond rusty)
lancelotlinc - Not so much message dictionary, which would define a structure. More for content. I was thinking more like English to French dictionary.
Totally agree. I actually designed and implemented a database for the purpose of translation at my company. My concern was only having to add functionality to store translations in ten different languages.
I don't have anything against using third party libraries, but didn't want to use them if it was something the broker supported natively. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|