You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeff Born <jb...@gr.com> on 2002/10/18 18:05:12 UTC

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

I've been trying to avoid listing all the images in the properties files.
Right now using the same image name and passing the i18n directory name in
seems to work and requires the least amount of upkeep.

Also I am trying to find a program that outputs a cyrillic text file to be
used as input 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 the country code.  If you actually put your path in 
there, you could use the srcKey to specify where it is picked from and 
let the property-loading mechanism take it from there.

That work?

I have no need 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 in the
>ApplicationResouces.properties files called countrycode
>
>I then find the image with src=images<bean:message
>key="countrycode"/>/imagename.gif
>
>Any one else doing it this way?  Is there a better way?  I'm not that far
>into the project and now is the time to change!
>
>Thanks,
>
>jb
>

-- 
Eddie Bush




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>