I've created the workflow with email notification, for this I use search ('@jetbrains/youtrack-scripting-api/search'). In this method I send " var searchQuery = 'work author: ' + author.login + ' ';
searchQuery += 'work date: ' + formatter(from) + ' .. ' + formatter(to);".
For the first time its works fine, but if I change language to Russian this does not work. Search return nothing. How can I fix this and use Russian instead of English for my youtrack?