You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a XLSForm definition includes a select with a choice filter, that select is output as a XForm secondary instance. If the choices have labels in multiple languages, the itext machinery is used and each label gets included twice in the translation block. For example, for this form:
Write a form with a select with translated labels and a choice filter.
Expected behavior
Label strings should only be included once per language.
Other information
Note that itext and secondary instances aren't complementary. This ODK forum thread has more on that. The solution might be to swap all of it out at some point but before clients are all on the same page it would be good to only output each label once.
The text was updated successfully, but these errors were encountered:
Software and hardware versions
all
Problem description
When a XLSForm definition includes a select with a choice filter, that select is output as a XForm secondary instance. If the choices have labels in multiple languages, the
itext
machinery is used and each label gets included twice in thetranslation
block. For example, for this form:Steps to reproduce the problem
Write a form with a select with translated labels and a choice filter.
Expected behavior
Label strings should only be included once per language.
Other information
Note that
itext
and secondary instances aren't complementary. This ODK forum thread has more on that. The solution might be to swap all of it out at some point but before clients are all on the same page it would be good to only output each label once.The text was updated successfully, but these errors were encountered: