2 Replies Latest reply on Jun 8, 2004 7:08 AM by Mika Goeckel

    A small change in the Page code, a big step towards i18n :-)

    Mika Goeckel Newbie

      Hi!

      To help a module operation to know about the request locale I'd suggest to add the following to org.jboss.nukes.html.Page

       public Locale getLocale(){
       return fragment.getRequest().getLocale();
       }
      
       public Enumeration getLocales(){
       return fragment.getRequest().getLocales();
       }
      


      or is there another recommended way to do i15d results in module operations?

      Thanks, Mika