Why do you need a separate file for tips? In the same file: sampleImage.tip = My Tip
and access it via the key sampleImage.tip -----Original Message----- From: Roman Rytov [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 2:26 PM To: Struts Users Mailing List Subject: RE: i18n and images? I agree that this is a solution. But don't forget I need to store also tips (alt's attribute values) for every image hence I need a second file. Two drawbacks arose: synchronization between files is up to me and the code becomes ugly: <img src="images/<bean:message key='sampleImage'/>" alt=<bean:message key='alt.sampleImage'/>"> But I agree it's better than nothing. -----Original Message----- From: Yaman Kumar [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:47 To: Struts Users Mailing List Subject: RE: i18n and images? Hi, If I understand your question properly, keep all images of application in a dir and write these images names in properties file(i18n_*.properties) with key names and in jsp page call that key name. Example. suppose you need to display an image (x1.gif) for en locale and other image(x2.gif) for fr locale. then in your properties file Application resources or I18N props file) In *_en.properties maintain a key sampleImage = x1.gif, In *_fr.properties maintain a key sampleImage = x2.gif. and in your jsp call <img src="images/<bean:message key='sampleImage'/>" > to render it in page. HTH TIA rayaku -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

