Title: I18n usage

Hi,

I am using displaytag together with Struts. I am having problem getting the i18n string from my resource bundle.
I had already configured "displaytag.properties" with the property below:
locale.provider=org.displaytag.localization.I18nStrutsAdapter
locale.resolver=org.displaytag.localization.I18nStrutsAdapter

My Struts config has the following :
  <!-- ========== Message Resources Definitions =========================== -->
        <message-resources  parameter="resources.admin" key="ADMIN"/>
        <message-resources  parameter="resources.exception" key="EXCEPTION"/>
        <message-resources  parameter="resources.invoice" key="INVOICE"/>
        <message-resources  parameter="resources.country" key="COUNTRY"/>      

I am using the line below to access the i18n string.
  <display:column property="country" titleKey="ADMIN.label.country" />

What else must I do to configure the correct resource file to be used?

Best Regards,
Wang Khong Hai

Reply via email to