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
Identified when verifying #650 but it's on master too. I think in general we try to identify columns by using the first few rows and run into issues like this. It's the same as #637 but on the choices sheet.
deftest_detects_multilanguage(self):
md=""" | survey | | | | | | | type | name | label | label::eng | | | select_one c0 | f | f | | | | select_one c1 | q1 | Question 1 | Question A | | choices | | | | | | | | list name | name | label | label::eng | label::fr | | | c0 | n | l | | | | c1 | na | la | la-e | la-f | | | c1 | nb | lb | lb-e | | """self.assertPyxformXform(
md=md
)
I think this error is avoidable, but the underlying issue of using the first row should be addressed since it doesn't account for questions/choices specifying different languages in different rows. If this error is a high priority / blocker please let me know and I could try a quick fix.
Looking at putting in a consistent language check where pyxform is already iterating through the XLSForm. Translations info needed during XLSX->internal transform for behaviour/warnings, and JSON->internal transform for behaviour.
Identified when verifying #650 but it's on
master
too. I think in general we try to identify columns by using the first few rows and run into issues like this. It's the same as #637 but on thechoices
sheet.Error:
The text was updated successfully, but these errors were encountered: