Hi,
Workflows most often do not work when using non-english languages.
The reason is that SQL operators are in $app_list_strings and they have been translated by the translation community.
So, you see things like
German:
$app_list_strings[‘aow_sql_operator_list’][‘Contains’] = ‘Enthält’;
$app_list_strings[‘aow_sql_operator_list’][‘is_null’] = ‘Ist NULL’;
French:
$app_list_strings[‘aow_sql_operator_list’][‘is_null’] = ‘est nul’;
Then, of course it generates wrong queries when you do, for example:
$query[‘where’][] = ‘(’.$field.’ ‘.$app_list_strings[‘aow_sql_operator_list’][$condition->operator].’ OR ‘.$field.’ '.$app_list_strings[‘aow_sql_operator_list’][‘Equal_To’]." ‘’)";
You should use another array than $app_list_strings so that translators are not tempted to translate that.
I’ll submit an issue on GitHub.
Thanks