build: i18n-add-language.sh: more lenient code validation