optimized check if there are multiple keys for the data-i18n attribute to parse