How can I auto-switch between languages in LibreOffice on Debian Linux?

Auto-switching between languages works out-of-box in the Windows version, but doesn’t in Debian-based one. What’s wrong? Thanks.

See also → Shortcut for changing language?

Perhaps you could provide more information what you mean by “spellcheck auto-switch”. Is it similar to this one: askUbuntu: switch spellcheck language when switching keyboard layout?

If so, and if your languages are supported (Russian and English, also Ukrainian, Belorussian, French, Romanian, Kazakh and German), maybe the Xneur package suggested in that link is useful. Note that development seems to have stalled though.

If it is not this issue, just to note, I don’t use a different layout keyboard, as most languages I write can be done using a US layout with “special” characters provided via spellcheck. That works as long as I tell libreoffice which language they are supposed to be in (and have spellcheck for those languages installed). Checking a document that mixes languages then just “automatically” switches between different vocabularies as appropriate. This works both under linux and windows (but windows is more work to get the right language vocabularies installed).

What do you think about “switching languages”? The user-interface language? Tools | Options | Language Settings | Languages | Language of User Interface. Is it?

User-interface switching is by default only available for Windows, from Release notes:

“The distribution for Windows is an international build, so you can choose the user interface language that you prefer.”

No info for Linux, but it could be understood this is only available in Windows.
https://www.libreoffice.org/download/release-notes/

I haven’t tried this (I use English version of Ubuntu 12.04), but try searching for libreoffice language package in your package manager or from terminal:

apt-cache search libreoffice-l10n-*

Then when you find out the language you need to install:

sudo apt-get install libreoffice-l10n-LANGUAGE_YOU_HAVE_CHOSEN

Then try to switch language from Tools - Options - Language Settings.