Diego Manilla Suárez schrieb:
> Hi. I'm using displaytag on a web app which lets the user switch the 
> display language. I've set the locale provider to I18nJstlAdapter, and 
> whenever the user switches languages, I invoke <fmt:setLocale> tag. I 
> have two configuration files, displaytag_en.properties and 
> displaytag_es.properties.
> 
> The problem is if I switch from English to Spanish, the titleKeys 
> attributes change, but some other attributes don't. For example, if I 
> have something like this:
> 
> <display:table name="searchResults" uid="searchResults">
>     <display:column titleKey="text.search.result.title" property="title" />
> </display:table>
> 
> The title of the column will show in Spanish just fine. But, if there 
> are no results, the basic.msg.empty_list will shown is the one from 
> displaytag_en.properties, instead of displaytag_es.properties.
> 
> What's the problem here?

Hi Diego,

did you supply the empty list property in the en *and* es bundle?
If you didn't supply in es then displaytag loads the default properties 
from the jar file.

Mike


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to