my web site should support multiple languages. But I need URLs which define the desired language, like this:
www.test.com/de/home -> German Locale www.test.com/en/home -> English Locale
What would be the best approach?
How about you write your own servlet filter (declare it in web.xml), where you check whether the url starts with
www.test.com/en and set JSF default locale accordingly? Seam will automaticly look up for appropriate messages_XX.properties bundle.