on 05-18-2011 6:36 PM
Hi all,
We have a requirement to pass localized versions of strings back depending on the locale of the request.
For example if the locale passed in the request is is en-us we would have
I was hoping to leverage a UDF which calls a java function to do the translation passing in a code which would access a resource file which would have the different localized versions of the strings stored.
I noticed in the PI 7.1 java guide there was an interface LocalizationCallback which looked close
Has anyone had experience localizing strings in response payloads based on a locale passed in the request.
If so I'm ideally after an overview of how you did it.
If you did it using a User Definied function some sample code for a UDF would be great.
Regards,
John
See whether you can get help from this link... Java has a Locale class..
http://download.oracle.com/javase/tutorial/i18n/locale/scope.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.