|
From: Gorm P. <gor...@us...> - 2004-10-14 20:06:29
|
Hi, I'm currently using the CookieLocaleResolver for locale resolving. It does what I want it to as long as a cookie has been set, but returns whatever the client sends in the Accept-Language header otherwise. What I really need is a way to specify a default locale for the resolver, so that if no cookie exists, that locale is returned regardless of what the client is requesting. I have attached a small patch that adds this functionality (while maintaining backwards compatability). It would be great if it were included. Cheers, Gorm |