Sebastien Flacher wrote:
Hi Linus,
As a single textfile is used, when there are several thousand entries it
will become difficult to manage.
this link has details on Resource Bundles inheritance http://developer.java.sun.com/developer/technicalArticles/Intl/ResourceBundles/
So far I find the Struts framework pretty good in terms of response time on JSP pages loaded with <bean:message key="app.text"/> I am not sure about the implementation details.
If the Locales you need at contained into ISO-8859-1 you shouldn't have much problems.
If not, both reading incoming Form data & outputing dynamic has interesting challenges. Let me know if you need help with these.
Seb.
"Linus Nikander" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I'm pretty new to Struts usage so it might be i'm overlooking an obviousissues
solution to this. The thing I've been looking at Internationalization
concerned with Struts. The thought of being able to change the wholeappeals
language of a site simply by changing the locale of the user really
to me. All examples i've seen so far use parallel versions of thebe
ApplicationResources.properties file to accomplish this. Whilst this may
feasibel for a fairly small site I don't see how this solution would holdup
forfor a large site (with serveral hundred concurrent requests to anyone of several thousand pages).
The problems/questions I can see are:
As a single textfile is used, when there are several thousand entries it
will become difficult to manage.
Can updates be made, during operation, to the contets. What happens if a
user requests the files content while it is being edited ?
Is the textfile cached for performance, or will concurrent calls compete
the same file-resource ?larger
As I'm probably not the first person who is trying to use Struts on a
scale for internationalization issues I thought someone might have abetter
solution. Suggestions ?
//Linus Nikander - [EMAIL PROTECTED]
-- Vic Cekvenich, Struts Instructor, 1-800-917-JAVA
Advanced <a href ="baseBeans.com">Struts Training</a> and project recovery in North East. Open Source <a href ="baseBeans.com">Content Management</a> basicPortal sofware Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper ScafflodingXPress

