Thank you for reporting this, and sorry again for the late reply! I am unfortunately unable to fix this myself, but I filed a general report about config.say_menu_text_filter in the Ren'Py Github in order to hopefully find a solution. I will keep you posted!
Hey, and so sorry about the long wait! Unfortunately this issue still hasn't been fixed, but Feniks figured out a workaround: https://feniksdev.itch.io/inline-conditions-for-renpy/devlog/1723160/engine-tran...
If you add
if renpy.version(True) < (8, 6):
text_input = renpy.translate_string(text_input)
to the beginning of the add_speech_pauses function, this should hopefully work!