Function replacing propositions and explanations by their translations

translate_exercise(exercise, translations, languiso)

Arguments

exercise

Tibble. Exercise table in the main language.

translations

Tibble. Table associating translations to propositions.

languiso

Character. ISO2 code of the language in which propositions and explanations should be translated.

Value

Tibble. Translated exercise.

Author

Nicolas Mangin