krancour
Dec 18th, 2007, 10:50 AM
Hi everyone,
I've got a full page of JSP (containing mostly just HTML) that I am looking to localize in English and Spanish. I'm quite familiar with i18n and regularly use resource bundles to store short messages, field labels, error messages, etc., but I'm really not sure how to go about localizing a full page of HTML content.
The other relevant twists are that I am using Tiles (circa Struts 1.2.8) and am restricted to Spring 2.0.7. So, what I am really trying to do is localize a tile.
I found documentation in my old Struts book that claims multiple Tiles definitions files can be provided- one per locale, but I see no evidence that Spring's TileConfigurer is capable of choosing correctly among those based on the locale.
Can anyone comment on this or suggest a workable solution? Thanks-a-million in advance to anyone who can.
I've got a full page of JSP (containing mostly just HTML) that I am looking to localize in English and Spanish. I'm quite familiar with i18n and regularly use resource bundles to store short messages, field labels, error messages, etc., but I'm really not sure how to go about localizing a full page of HTML content.
The other relevant twists are that I am using Tiles (circa Struts 1.2.8) and am restricted to Spring 2.0.7. So, what I am really trying to do is localize a tile.
I found documentation in my old Struts book that claims multiple Tiles definitions files can be provided- one per locale, but I see no evidence that Spring's TileConfigurer is capable of choosing correctly among those based on the locale.
Can anyone comment on this or suggest a workable solution? Thanks-a-million in advance to anyone who can.