1 Reply Latest reply on Oct 24, 2007 6:44 AM by pmuir

    Hello World and i18n issues

    emiperez

      Hello World!

      I'm begining to use Seam for some Web Applications I want to develop, and I have some questions about i18n:

      a) I want to have 2 message bundle levels.
      1.- The first one is a general bundle for all applications (I would use the default "messages" bundle).
      2.- An application specific bundle "myapp_messages".
      When I create an eclipse project i see the messages_[language_code].properties files are in the resources folder and when I deploy it, they're copied to WEB-INF/classes. But components.xml only exists in "WEB-INF". How is the correct way to add the specific bundle? Change the build.xml file to copy the myapp_messges_[lang].properties as well to WEB-INF/classes or move the "messages" bundle to WEB-INF and add a line for that bundle in conponents.xml?

      b) The locale name for Basque Locale ("eu" code) that appears is the spanish name ("vascuence") instead of the Basque name ("Euskara"), and for many basque people "vascuence" sounds offensive. Where should I order to change it? (As it seems to be a JDK issue).

      Thank you and sorry for my poor English.

        • 1. Re: Hello World and i18n issues
          pmuir

          a) components.xml belongs in WEB-INF, messages_XX.properties on the classpath (e.g. in WEB-ING/classes) - so just make sure your bundle is in WEB-INF/classes

          b) As you say, a JDK issue, you can't alter this in Seam afaik. You'll need to raise a issue with Sun I expect.