add flags and i18n settings