9 Replies Latest reply on Jul 12, 2012 11:04 AM by Mohammed Harb

    Localization problem in RichFaces 4 (JSF 2)

    Mohammad Weshah Novice

      Dear All,

      i working on application that should be supporting two languages English(ltr) & Arabic(rtl) ,

      when

      - i tried to change the <f:view local="ar"/> it dose not work

      - i tried to change the view local by the code ,But it dose not work :

       

              UIViewRoot viewRoot = FacesContext.getCurrentInstance().getViewRoot();

              viewRoot.setLocale(new Locale("ar"));;

       

       

      - i tried change the local from faces-config.xml  but it dose not work .

       

      What is the problem ?

       

      Regards

      Wish79