I might be misunderstanding something, but on_string_translated contains the translated word as a string
, which you should be able to lowercase using string:lower(word)
, no?
I think here RecipeBook takes the returned value from request_translation, takes it to lower case, and sees if it matches the searched word. Not sure though, just poking around in the code.
And also not sure how this will work for languages like Russian like mentioned in that thread though. Maybe you can translate English, but keep other languages case sensitive.