-
Notifications
You must be signed in to change notification settings - Fork 2
Description
This is something that should be reusable, but is primarily intended in a model for the Collection Display page.

The user can select a language to translate it to.
It shows the given sentence in its original language with light blue background. If a word has been given too, then it is marked with a darker blue.
If the given sentence has no translation in the target language, then it should show "The selected sentence has no translation in that language"
If the given word has no translation in the target language, then it should show "The selected word has no translation in that language"
If there is a translation for the sentence, then it should be displayed, same for the word.
If no word has been given, then nothing should be shown for the word.