1)I'd create seperate html fragments with the language specific text in
them. I'd then use <jsp:include> with a runtime expression to determine the
file to include (perhaps getting the file name from the properties file).

2) - the <html:img> tag deals with this for you:

<html:img pageKey="languagelogo" altKey="languagelogo.alt"/>

Just specifiy the relevant path & text in your locale specific properties
files.

Paul

-----Original Message-----
From: Henry Voyer [mailto:[EMAIL PROTECTED]
Sent: 13 August 2003 22:58
To: [EMAIL PROTECTED]
Subject: Questions about i18n.


Hi fellow strutsers.

I have 2 i18n question.

1) How can i i18n of huge amount of text ?
Ex. i have 2 texts one in french and one in englsh that i would like to 
insert in an JSP
Ex comment_en.txt and comment_fr.txt
Do i have to put it in one .propertie line ?

2) How can we i18n images?
Ex. 2 logos
Welcome_en.gif and Welcome_fr.gif

Thanks for the answers

Regard
henry

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*   
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
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