Re: Best Practices for PrettyFaces and Multiple language sites

Splash Forums PrettyFaces Users Best Practices for PrettyFaces and Multiple language sites Re: Best Practices for PrettyFaces and Multiple language sites

#20687

Hey Ignacio,

nice to hear that you like PrettyFaces! :-)

Regarding the multi language URLs you could try the new inheritance feature for URL mappings introduced in PrettyFaces 3.2.0. This way you have to declare only one mapping containing the language code and let all other mappings extend this one.

I didn’t try something like this myself but I think it should work.

Just take a look at the documentation:

http://ocpsoft.com/docs/prettyfaces/3.2.0/en-US/html/Configuration.html#config.mapping.parents

I hope this helps.

Christian