Closed lognaturel closed 6 months ago
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.
I don't think it's a blocker but I do think looking at the issue list that this and #637 would be good next ones to look into.
I don't have any great ideas at the moment so I'm hoping you'll feel more creative!
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 https://github.com/XLSForm/pyxform/pull/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 https://github.com/XLSForm/pyxform/issues/637 but on thechoices
sheet.Error: