If you put both the original and the translation in the same topic, maybe it would be possible to show/hide content based on the user’s locale. Something like this: GitHub - wooorm/franc: Natural language detection · GitHub could be used for language detection within the topic. Sections that are not in the user’s target language could be initially collapsed and then expanded for users who wanted to see the content in both languages.
edit:
Since you know the languages you are dealing with ahead of time you could just wrap the text for each language in a div so that Ukrainian sections would have <div class="uk"> and English sections <div class="en"> and then show/hide those sections based on the user’s locale.