adds i18n config to check "lang" cookie