1. What is the issue? Please be detailed.
When I export my XLSForm to XML to upload to my Google drive, I get an error about languages: "The following language declarations do not contain valid machine-readable codes". I am using 4 languages, two of which are not on the list that provides the two-letter language code. These two are Acholi and Lusoga, dialiects in Uganda. I had no problem with these when using Kobotoolbox with the XLSForm, but now, the answer choices are not being recognized. Can we create new two-letter language codes?
2. What steps can we take to reproduce this issue?
Essentially having any language in your form that is not on this subtag registry list: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
3. What have you tried to fix the issue?
I just realized the issue was the codes being unrecognized.
4. Upload any test forms or screenshots below.
If your language is not on the list, you can use any code. As long as it's consistent throughout the form ODK will work as you expect.
xog for Lusoga
ach for Acholi
As to the answer choices not being recognized, what do you mean by that? Is Collect not showing the answer choices?
Hi, thanks so much for this response. Originally it was just showing dashes for all answer choices in Lusoga and Acholi. Oddly enough, the questions were working though. I just removed the code I had made up on both the survey and choices sheets, and like you said, it now works. I will try those suggested codes again and see if this holds.
All the best,
It will show those dashes if you are not being consistent with the label.
It should be
label::Lusoga (xog) and
label::Acholi (ach) for the labels in both the survey and the choices sheets.