I agree.  I do think I am setting myself up for a maintenance headache.  
However, the performance is too bad using bean:message tags.  Do you 
have any other suggestions?

Thanks,

------------------
Jason Smith
[EMAIL PROTECTED]

----- Original Message -----
From: "Martin Eckert" <[EMAIL PROTECTED]>
Date: Friday, April 27, 2001 6:17 pm
Subject: RE: i18n...

> Hi Jason,
> 
> In a JSP page you'll have structural elements and even some logic 
> elements.The approach of having one JSP page per language will 
> make it very difficult
> to make future updates to your page.
> Every time you'll update your site you'll have to make the same 
> changes to
> every one of the pages.
> 
> If you've been there you'll know what I'm talking about. Even with 
> just two
> versions (languages) it can be very painful to update and maintain 
> the web
> app. In our company we had to learn the hard way that it's just very
> inefficient to maintain multiple versions.
> 
> Hope this helped.
> 
> Regards, Martin
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 27, 2001 3:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: i18n...
> 
> 
> I hate to keep asking the same question but I haven't gotten any
> repsonse yet.
> 
> One thought I have had is do do something like:
> 
> if(en)
> {
>  <jsp:include file="english.jsp"/>
> }
> else (fr)
> {
>  <jsp:include file="french.jsp"/>
> }
> etc...
> 
> What would be the performance drawbacks of something like this?
> 
> 
> ------------------
> Jason Smith
> [EMAIL PROTECTED]
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> Date: Friday, April 27, 2001 12:53 pm
> Subject: i18n...
> 
> > I have a couple of questions.
> >
> > I had a JSP in which I had approximately 40 bean:message tags for
> > i18n.
> > This page was taking 15 seconds to load.  If I had two requests
> > for the
> > page at the same time it would take 45 to 60 seconds.  Obviously
> > this is
> > not acceptable.  When I replaced the bean:message tags with the
> > text,
> > the response time goes to a respectable 3 to 5 seconds with
> > multiple
> > hits.  Therefore, I have to come up with another method of
> > internationalization.
> >
> > I am new to this so I am looking for suggestions.  I have to
> > support 4
> > languages.  My current thought is to detect the browser's settings
> > and
> > forward the request to the appropriate JSP that is specific to the
> > language settings.  I'm not sure exactly where this should be
> > done.  I
> > would like it to be dynamic so that I can reuse FORM and ACTION
> > beans
> > for each related page.
> >
> > Again, any suggestions would be appreciated.
> >
> > ------------------
> > Jason Smith
> > [EMAIL PROTECTED]
> >
> >
> 
> 
> 

Reply via email to