locale resolving based on a cookie