fix: preserve current locale using cookies