---------- Forwarded message ----------
From: Chamikara Jayalath <[EMAIL PROTECTED]>
Date: Jul 11, 2006 11:55 AM
Subject: Re: i18n (NLS) msgs in sandesha2
To: [email protected]
Cc: [email protected]
Hi Thomas,
Could you please create an JIRA issue on providing i18n support in Sandesha2.
Yes. what u mention is correct. The problem is axis2 having some hardcoded values in Message and MessageConstant classes.
It seems like we can do a small modification to Axis2 and make it provide support for i18n extensions. The approach that came to my mind is maintaining a HashMap of MessageBundles in the message class (instaead of one). So Sandesha2 can add its own messageBundle to this map. Whan retrieving values we can ask the message class to retrieve the values from this Bundle instead of the default one. I'll try to do this modification to Axis2.
I'm CCing this to axis-dev so that they can comment on this approach.
Could you please create an JIRA issue on providing i18n support in Sandesha2.
Yes. what u mention is correct. The problem is axis2 having some hardcoded values in Message and MessageConstant classes.
It seems like we can do a small modification to Axis2 and make it provide support for i18n extensions. The approach that came to my mind is maintaining a HashMap of MessageBundles in the message class (instaead of one). So Sandesha2 can add its own messageBundle to this map. Whan retrieving values we can ask the message class to retrieve the values from this Bundle instead of the default one. I'll try to do this modification to Axis2.
I'm CCing this to axis-dev so that they can comment on this approach.
Chamikara
On 7/10/06, Thomas McKiernan <[EMAIL PROTECTED]
> wrote:
Hi guys,
I'm just looking into the i18n issues of Sandesha2.
I see Axis2 already has code to loads its 'resource.properties' msg file
and do lookups etc.
It strikes me that the code that we need is virtually identical - just
different values for projectName etc. However, it does not look like there
is any capacity at the moment for using this code with projects outside of
Axis2 - do any of you guys have an opinion on this?
Many thanks,
Thomas
----------------------------------
Thomas McKiernan
WebSphere Messaging Development,
IBM United Kingdom Limited
Internal Phone: 248241
External Phone: +44 (0)1962 818241
Mobile: +44 (0)789 1737497
Email: [EMAIL PROTECTED]
Mail Point 211, IBM, Hursley Park, Winchester, Hampshire, England, SO21 2JN
Caminante, no hay camino
Se hace camino al andar.
("Walker, there is no path; the path is made by walking.") Antonio Machado
