Re: multi-language url rewiting. Is it possible?

Splash Forums PrettyFaces Users multi-language url rewiting. Is it possible? Re: multi-language url rewiting. Is it possible?

#23431

francescanye
Member

Thanks Christian, I’m just exploring pretty-faces in these days, I will try to change the outputLink as soon as possible. I got your clarification about the out-bound link.

What I didn’t understand yet is your comment about the redirection in the index.html. As index.html is not jsf, following Lincoln’s suggestion, I had to insert the italian languageCode “it” in the meta refresh tag, a page pretty-faces knows about, so the espression #{localeChanger.languageCode} in the config file sets the languageCode value to “it” even if the user language is english.

I have to say that LocaleChanger is still session scope because it is used also to permit the user to change the language using country flag buttons on top of the page.