Set the locale from the browser