Two languages in single document

I have a document where I have mixed Ukrainian and English language. Is there a way to have spellcheck to work for both of them same time? So far I found only a way to define single language per entire document…

Check the help. You can set a language for the document and have individual languages for paragraphs. This is done by creating different styles for paragraphs. Also you can use character styles, if you change language inside a paragraph:

https://help.libreoffice.org/latest/en-US/text/shared/guide/language_select.html