0 Replies Latest reply on Aug 30, 2010 4:01 AM by josdaniel

    How do I display the message in a different locale

    josdaniel
      We have a requirement to show a certain page alone in a different locale. (e.g in a certain page if the topic of discussion is related to English then we pick up the messages from the messages_en.properties, but if the topic of discussion is in French or German we need to show the messages in the appropriate language.

      How to change the following bean invocation to take in the locale as a parameter in the xhtml page #{messages['label.hello']}.

      The above defaults to the english locale, how do I pass the locale dynamically?