Hi there, I’m looking at a form that is available in 4 languages and is populated using Enketo webforms (not the Collect app).
There are several repeating sections and groups with quite complex logic, and there are calculated totals shown throughout the form. It’s the form that Daria has looked at previously in another thread, troubleshooting repeat group logic Problems with data in generated repeat groups in Enketo
However, my question today is not about repeat groups per se, but about the strange fact that calculated fields display differently depending on which language the form is being filled out in. If the form is filled out in English the totals show correctly, but if the form is filled out in Spanish/French/Arabic then the totals sometimes show figures calculated from elsewhere in the form rather than the section they relate to. I’ve filled out the form in both English and Spanish at the same time with the same inputs and can clearly see the difference in behaviour. Have tried on multiple servers. It’s my understanding that the calculate logic should be completely independent of the language - and that would seem to be supported by the documentation e.g. https://support.kobotoolbox.org/calculate_questions.html
I have looked at the calculate logic and there’s nothing that references language - just always refers back to field names (which are independent of language label).
Any thoughts on what to look at next? Anyone seen this kind of behaviour before?