0 Replies Latest reply on Sep 30, 2010 11:02 AM by Tina Ng

    internationalized messages

    Tina Ng Newbie
      Hi,
      In my project, we have some files messages properties as following:

      src/resources/messages_en.properties
      src/resources/messages_es.properties
      src/resources/messages_fr.properties
      ...

      I currently put all messages (hibernate validator, messages used in ACTION, messages used in presentation layer xhtml). As a result, my message properties files are getting bigger and bigger.

      I would like to separate into two folders. One in src/resources as we have now for messages used in ACTION and in xhtml files.
      It means that I will have

      src/resources/messages_en.properties
      src/resources/messages_es.properties
      src/resources/messages_fr.properties

      And another folder for eg: src/resources/hiberateValidator
      for messages used in ENTITY.

      src/resources/hiberateValidator/messages_en.properties
      src/resources/hiberateValidator/messages_es.properties
      src/resources/hiberateValidator/messages_fr.properties

      Could anyone show me how to do it?
      Thanks very much!!!