My first ever bilingual survey works after several attempts but it has a few issues. I was getting errors as I entered the english label on every row which was frustrating but didn't seem to impact the functionality. The survey was originally created using the web designer, but then spanish was requested so the survey was downloaded and rebuilt from scratch based on the blogs/help pages. Here are some of the issues that are still annoying me.
1- English is offered twice and spanish is offered twice.
2- Spanish version has dashes after every piece of text. This also happens after the questions. The only think i could think of was that it had something to do with the fact that i had to copy/paste the translated text from a document. But the dashes are not in the doc.
3- the likert didn't really work in the spanish version. looks like it tried to duplicate the stars that were the original nice view from the web designed form.
Any suggestions would be very welcome.
Thanks!
Solved! Go to Solution.
Chris Ferner Thanks for sharing your XLSForm. For the issues #2 and #3 you describe above, the culprit is an unnecessary extra space you have in between label::Espanol and (es) in the choices XLSForm sheet. This makes the Survey123 web app think that you have three languages:
If you remove the extra space to make all label::Español (es) consistent across the choices and survey sheets this will address these two problems.
For issue #3 (missing images) the problem is that you are missing the start.svg file in the media folder of your survey. I believe you may have lost this file after downloading your original design from Designer into Connect and moving the XLSForm around. I have attached the file to this message. In Connect, click on the Files button while your survey is in preview. This will open the survey's directory in your computer. Then copy the attached star.svg file into the media subdirectory and publish again. You will get your stars back.
There are a few minor typos in the Spanish translation:
In the choices sheet:
* D5: Me siento bieno || Me siento bien
* D18: Resfrio Sudor nacturno || Resfrio Sudor nocturno
* D14: Erupcion || You may want to use Erupcion o Sarpullido
* D6: For consistency, you may want to use No me siento bien
In the survey sheet:
* In D11: You may want to use: Lamentamos que no se siente bien
* D13: ¿Que día se empezó a sentir mal? || ¿Que día empezó a sentirse mal?
* D17: Missing 1 in COVID-19
* D25: I do not know how to translate immuno compromised but inmune comprometido does not sound right. You may want to have someone double check that one.
Hi Chris Ferner Please follow recommendations as described at: https://community.esri.com/groups/survey123/blog/2019/01/23/introducing-multiple-language-surveys and Multiple language support—Survey123 for ArcGIS | Documentation
If you see dashes it is likely because translations are missing. Please keep in mind you must add translations in both the survey and choices worksheets. You also need to be consistent with the column naming. For example: label::Español (es). Give me a call so we can review the XLSForm. Thanks!
Chris Ferner Thanks for sharing your XLSForm. For the issues #2 and #3 you describe above, the culprit is an unnecessary extra space you have in between label::Espanol and (es) in the choices XLSForm sheet. This makes the Survey123 web app think that you have three languages:
If you remove the extra space to make all label::Español (es) consistent across the choices and survey sheets this will address these two problems.
For issue #3 (missing images) the problem is that you are missing the start.svg file in the media folder of your survey. I believe you may have lost this file after downloading your original design from Designer into Connect and moving the XLSForm around. I have attached the file to this message. In Connect, click on the Files button while your survey is in preview. This will open the survey's directory in your computer. Then copy the attached star.svg file into the media subdirectory and publish again. You will get your stars back.
There are a few minor typos in the Spanish translation:
In the choices sheet:
* D5: Me siento bieno || Me siento bien
* D18: Resfrio Sudor nacturno || Resfrio Sudor nocturno
* D14: Erupcion || You may want to use Erupcion o Sarpullido
* D6: For consistency, you may want to use No me siento bien
In the survey sheet:
* In D11: You may want to use: Lamentamos que no se siente bien
* D13: ¿Que día se empezó a sentir mal? || ¿Que día empezó a sentirse mal?
* D17: Missing 1 in COVID-19
* D25: I do not know how to translate immuno compromised but inmune comprometido does not sound right. You may want to have someone double check that one.
Thank you Ismael Chivite!
For issue #1 & 2 - removing the extra spaces removed the extra options for languages and removed the dashes. Amazing the power of a space.
Issue #3 - I did have the star file, but it still wasn't displaying for the spanish version so I removed it. I also noticed that in the web designer version when i selected the star it filled in the stars up to the one selected. I changed it to be a plain likert (no fill in the stars).
I got the translations all fixed up. Thanks!
I did notice that I do not have the fieldworker or stakeholder feature layer views for this survey. When I change the sharing the layer just changes from private to public. We tried to make a view off of it but it wouldn't open so we're sticking w what exists. I looked thru the What's New doc and didn't see anything about this part of the process changing.
And one new question came up... they decided to switch the symptoms to yes/no questions so that it was easier to do counts of the numbers of people having fevers for example. Is there a way to split these into two columns? There are 12 symptoms.
Or a way to parse the answers if they leave it multiple choice? They want to be able to report in a dashboard how many people have fever's per zip code etc etc.
I see more bilingual survey's in my future!
Hi Chris Ferner
type | name | label | calculation | bind:esri:fieldType |
---|---|---|---|---|
select_multiple symptoms | symptoms | Symptoms | null | |
hidden | fever | Fever | if(selected(${symptoms},'yes'),1,0) | esriFieldTypeInteger |
hidden | cough | Cough | if(selected(${symptoms},'yes'),1,0) | esriFieldTypeInteger |
hidden | rash | Rash | if(selected(${symptoms},'yes'),1,0) | esriFieldTypeInteger |
hidden | fatigue | Fatigue | if(selected(${symptoms},'yes'),1,0) | esriFieldTypeInteger |
Thanks - that makes a lot of sense in regards to the publishing process looking different. I've been mostly doing web designer survey's recently or when i use connect i've been pointing to an existing service so haven't noticed the difference.
I decided to stick with the select_one and the table-list. (I'm testing the select_multiple in a different survey to compare them in dashboard.)
The list looked GREAT in connect but looks like this in the browser. It's kinda funky but not what I expected.