diff --git a/lib/translations.js b/lib/translations.js index 8bd4752..b46764c 100644 --- a/lib/translations.js +++ b/lib/translations.js @@ -160,7 +160,7 @@ function fetchTranslations(options) { // remove translation message if it was included somehow field.terms.replace(/\[.*\]/, '') // convert to an array - .split(',') + .split(/[,،]/) // make everything lowercase and remove whitespace .map(s => s.toLowerCase().trim()) // remove empty strings