diff --git a/languages.py b/languages.py index 0f260f38d..a1c143f42 100644 --- a/languages.py +++ b/languages.py @@ -38,8 +38,14 @@ def setActorLanguages(baseDir: str, actorJson: {}, languagesStr: str) -> None: separator = ',' if '/' in languagesStr: separator = '/' + elif ',' in languagesStr: + separator = ',' elif ';' in languagesStr: separator = ';' + elif '+' in languagesStr: + separator = '+' + elif ' ' in languagesStr: + separator = ' ' langList = languagesStr.lower().split(separator) langList2 = [] for lang in langList: