0 Replies Latest reply on Aug 6, 2010 7:59 AM by Gérald Pereira

    URLRewriting and internationalization

    Gérald Pereira Newbie

      I wonder if it is possible to rewrite URL depending on the user's locale.

      For exemple, i would like my home.seam page to be rewrited to /home when the user has an english locale and to /accueil when he has a french locale.

      I tried to use EL : <rewrite pattern="#{locale.getLanguage().equals('en') ? '/home' : '/accueil"  /> but that does not work.

      Any idea how to do this ?