Changing language doesn't update calculations

1. What is the issue? Please be detailed.

I have a form which calculates an activity based on a given age and then translates that into the selected language. The translation updates correctly when modifying the age, but it does not change language when using the language switcher. However if I update the age again the translation updates as expected.

2. What steps can we take to reproduce this issue?

  1. Upload this form:

    translated-dynamic-text-without-output.xlsx (10.4 KB)

  2. See that the note at the bottom of the form says “drawing” (in English)

  3. Select “French” from the dropdown at the top of the form

  4. See that the labels are automatically translated to French, but the note still says “drawing”

  5. Change the “age”

  6. Now the note is translated to “dessiner”

3. What have you tried to fix the issue?

Nothing!

4. Upload any forms or screenshots you can share publicly below.

1 Like

Interesting!

Collect has the same issue:

While Enketo displays an error:

This is something I would have thought possible to do. I wonder if triggering a recalculation would be costly in terms of performance (there are projects with over 200 questions in a form).

Can you please create a ticket in the repository?