build: i18n: fix some issues with the config switch