Spelling language

Hello,
I am using manjaro and linux mint with onlyoffice, I use two languages in all my documents
My problem is switching keyboard layout spell language is not changing, and remain the default
I’ve tested in Windows and is working, but with linux is not
What am i doing wrong?

thank you

Hello @proteas
Please provide us with details of the situation (step-by-step scenario, you can record a video file or make screenshots). Also let us know exact versions of Manjaro\Linux Mint OS and Desktop editors.