2 Replies Latest reply on Jul 27, 2012 10:12 AM by Andrew Cheung

    RF Fileupload localization problem

    Andrew Cheung Newbie

      Hi, all. I'm using RichFaces 3.3.3 and am having problems with localization of the label on the file upload button. The French label should read "Télécharger photo", but instead it appears as "Téleacute;charger photo". Code and configuration details as follows:


      Modify.xhtml :


      <rich:fileUpload fileUploadListener="#{rlpuseradmin.listener}"

                              maxFilesQuantity="1" id="upload" immediateUpload="true"

                              acceptedTypes="jpg, jpeg, jpe" allowFlash="false"


                              doneLabel="#{rslabels.FILEUPLOAD_DONE}" listHeight="100"







      faces-config.xml :

















      labels_fr.properties :


      FILEUPLOAD_ADD=T\u00E9l\u00E9charger photo


      (note : I have also tried using "FILEUPLOAD_ADD=Télécharger photo" instead of the actual code for the accented characters. However, the result is the same).



      Note that having <h:outputText value="#{rslabels.FILEUPLOAD_ADD}" /> in the xhml file yields the correct display of the accents.


      Please advise. Thanks.