i18n and images

2002-10-18 Thread Jeff Born
Right now I have created an images directory and an es, ru, etc.. directories under images to house all of my i18n images. To reference them I have placed another key in the ApplicationResouces.properties files called countrycode I then find the image with src=imagesbean:message key=countrycode

Re: i18n and images

2002-10-18 Thread Eddie Bush
for internationalization, so I can't speak to *the* solution - I think what I propose is reasonable though. Jeff Born wrote: Right now I have created an images directory and an es, ru, etc.. directories under images to house all of my i18n images. To reference them I have placed another key

RE: i18n and images + creating an i18n input file for native2ascii

2002-10-18 Thread Jeff Born
for native2ascii? Any suggestions? Thanks, jb -Original Message- From: Eddie Bush [mailto:ekbush;swbell.net] Sent: 17 îêòÿáðÿ 2002 ã. 14:32 To: Struts Users Mailing List Subject: Re: i18n and images You could just list all of the images in the properties file - instead of just having

i18n and images?

2002-06-10 Thread Roman Rytov
I'm sorry that yesterday I sent a bit confusing question. Todya I reask it in more precise form:-) Is there any way to store image related info into a property file and hardcode not an image location but its alias from this file? I think smth. should exist for this purpose. -- To

RE: i18n and images?

2002-06-10 Thread Roman Rytov
being there is nothing in Struts like this? -Original Message- From: Elizabeth Barham [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 11:13 To: Roman Rytov Subject: Re: i18n and images? [ Not on the struts-user mailing list because this message does not directly relate to struts

RE: i18n and images?

2002-06-10 Thread Yaman Kumar
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)

RE: i18n and images?

2002-06-10 Thread Roman Rytov
=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

RE: i18n and images?

2002-06-10 Thread Vikram Goyal01
=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

RE: i18n and images?

2002-06-10 Thread Kristopher Brown
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

RE: i18n and images?

2002-06-10 Thread Roman Rytov
Wow! Finally one pointed me at what I was asking for:-)) Thanks! -Original Message- From: Kristopher Brown [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 12:03 To: Struts Users Mailing List Subject: RE: i18n and images? Hope I'm not missing the point, but I think the standard

Re: i18n and images?

2002-06-10 Thread timw
or pageKey attribute. -Original Message- From: Roman Rytov [mailto:[EMAIL PROTECTED]] Sent: 10 June 2002 09:56 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

Re: i18n and images?

2002-06-10 Thread timw
think the standard struts html:img tag covers this already with the altKey attribute and the srcKey or pageKey attribute. -Original Message- From: Roman Rytov [mailto:[EMAIL PROTECTED]] Sent: 10 June 2002 09:56 To: Struts Users Mailing List Subject: RE: i18n and images? I

RE: i18n and images?

2002-06-10 Thread Julian Trott
June 2002 14:52 To: Struts Users Mailing List Subject: Re: i18n and images? Sorry one more question: If I want to specify width and height of the image, how should I do it? Would you please give me the exact syntax? What if I want to use this image as a submit button? Thanks very much. Tim