3 Replies Latest reply on Nov 15, 2010 1:26 AM by Trong Tran

    how set language in every portlet of my portal?

    fernando flores Newbie



      wich is the steps for set the any language to each portlet's labels into my portal ?


      I see an small reference on GateIn documentation (chapter 5 Develop) using a "resouse-keys"


      WebuiRequestContext context = WebuiRequestContext.getCurrentInstance() ;
      ResourceBundle res = context.getApplicationResourceBundle() ;
      String translatedString = res.getString(key);

      but, i dont know where is the WebuiRequestContext class.

      The Gatein documentation is very poor in this details.


      Tnx for you help