1 2 Previous Next 29 Replies Latest reply on Oct 15, 2013 7:29 AM by Pawo509 Pawo509

    Seam looses internationalization capabilities

    gadeyne.bram Master



      I'm using seam 2.2.2.Final with Richfaces 3.3.3.Final on JBoss AS 6.


      My application is translated into 2 languages (dutch and english).


      Sometimes ( at server startup or varying from  hours to days) the web application looses the translations. It then only displays the key's as labels and not the translations.

      Would anyone know what causes this?

      First I thought it could be caused by the character set used in dutch. I then converted the files to ascii with native2ascii.exe but this did not solve the problem.

      I'm using the default messages.properties files from seam. In my case these are messages_nl.properties and messages_en.properties. In JSF I use the EL-tags #{messages['key']}.

      My faces-config.xml file contains these settings:

      <?xml version="1.0" encoding="UTF-8"?>
      <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">

      In JSF I use it like this:

      <h:outputText value="#{messages['admin.scheduling.title']}" /> 

      In Code I use


      Can I add some error logging somewhere to maybe find a log message indicating the problem?

        1 2 Previous Next