Freddy, Thanks for the quick reply. I really appreciate that. By the way, love your book. I highly recommend it for anyone wanting to learn Stripes. You and Tim did a great job! Prior to my original post, I had tried both upper and lowercase language codes in the file names, placing all into WEB-INF/classes......with no love. I'm also keeping it simple at this point. In the default displaytag.properties file there is one line: basic.empty.showtable=true In the displaytag_fr.properties file, I also have one line: basic.msg.empty_list_row=<tr class="empty"><td colspan="{0}">Rien pour afficher.</td></tr> There is also a displaytag_en.properties file which has the following line: basic.msg.empty_list_row=<tr class="empty"><td colspan="{0}">Nothing to display.</td></tr> It is the english line (Nothing to display.) that is being displayed on my page instead of french (Rien pour afficher.) in spite of the fact I have my browser's locale set to fr. All text from StripesResource_fr.properties is displayed perfectly. Its almost like displaytag is not recognizing the fact that I have other language specific properties files and is defaulting to english. Do you have a recommendation as to what version of displaytags should be used? I'm using 1.0. If it mattes, I'm using Tomcat 6.0.18 and Java 1.6.0_18. Maybe the down level version of displaytag is having "issues". Thanks again, Rick On 10/8/2010 2:14 PM, Freddy Daoud wrote: Hi Rick,straightforward (and works great), however, I want to provide language support for my displaytag tables too. It appears the default displaytag.properties file is being found, but I can't seem to find the language specific displaytag properties file, such as, displaytag_FR.properties. Is there something I need to configure in web.xml to find these locale specific displaytag properties files, or is there some other methodology?I just have displaytag_fr.properties (lowercase fr) end up in the WEB-INF/classes folder, and it works. Note that you have to create the file yourself (it does not come with display tag distribution) and translate only text, that is, you do not need to translate html tags and configuration settings.Cheers, Freddy ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users |
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users