Hello, Maybe another idea if I understand well what you want. So you want to include a file, specific to the current locale definition. I need about the same feature, and was looking for a better way than mine to solve this. The only think is that I include a i18n _file_ in a general template, and i do not redirect the user direclty to this i18n file.
You have only one tiles-def.xml, one struts-config.xml, one properties file per locale. The idea is to have the file name locale-specific (so stored in properties file), and to call the file via the properties file, so the correct, locale-specific, name is called. It gives : In the main file, where i include, i have, in state of simple <tiles:insert attribute=.../> : <jsp:include flush="false"> <jsp:attribute name="page"> <tiles:getAsString ignore="true" > <jsp:attribute name="name"> <i18n:message bundleRef="help" key="help"/> </jsp:attribute> </tiles:getAsString> </jsp:attribute> </jsp:include> Than, I have somewhere in my tiles_def.xml something like : <put name="help" value="custom.help"/> And in my properties file (locale specific) something like custom.help=../help/customHelp_en.jsp and for another language, I have custom.help=../help/customHelp_fr.jsp Than, i need to modify the last line, and to specify it differently in my properties files, for all my locales. But i can have a different file per locale. Maybe this can be adapt at your specific needs. On the other way, maybe there's a better way to do this that mine ... ? Of course, something great would the use of <tiles:insert baseName="..." locale="..." /> ! Hope this can help someone ... On 29/06/05, Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote: > Hello! > > Jeff Beal wrote: > > ... > > Have you considered locale-specific CSS files to give > > a different presentation to the same JSP page? > > ... > > I have no idea of this. Can you, please, comment? > > Yaroslav Novytskyy. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Marc Demlenne --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]