store i18n locale as global cookie