escape i18n strings
handle empty lists
fix