I use a similair approach, but get fmt:message to deal with selecting the
correct locale for me:

<bean:define id="localePage">
        <fmt:message key="some.langauage.specific.page"/>
</bean:define>
<jsp:include page="<%=localePage%>" flush="true"/>

I then define the path to the locale specific html page in the relvant
.properties file.

Paul

-----Original Message-----
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: 15 October 2003 10:14
To: Struts Users Mailing List
Subject: Re: IMPORTANT: internationalize large chunks of text/HTML


I haven't had to do this myself, but I believe that when you have entire 
pages that can be maintained separately, people start developing 
separate page trees. The idea being that you can have an Action check 
the locale and fork to one set of ActionForwards or another, based on 
the locale.

-Ted.

Mick Knutson wrote:

> I have posted this before, and I still am trying to understand the best
way
> to approach this.
> 
> I have 100% of my labels in a Resource bundle currently. But I also have
> larger pages of text (1-2 pages at a time), that I need to be
> internationalized just like my labels. I am wondering what the best way to
> do this is?
> I just want to know what other people are doing that is easy on
maintenance.
> 
> 
> ---
> Thanks
> Mick Knutson
> 
> The world is a playground...Play Hard, Play Smart.
> Visit  http://www.YourSoS.com to learn how our "Personal Emergency Alert &
> Contact System" can help you Play Smart.
> 
> +00 1 (708) 570-2772 Fax
> MSN: mickknutson
> ICQ: 316498480
> ICQ URL: http://wwp.icq.com/316498480
> 
> ---
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
Ted Husted,
   Junit in Action  - <http://www.manning.com/massol/>,
   Struts in Action - <http://husted.com/struts/book.html>,
   JSP Site Design  - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


**************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to