Multilingual Default Language Media displays for all languages

1. What is the issue? Please be detailed.
In a multilingual form, I would like to have media (both audio and/or images) be displayed for a specific language, but not for other language(s). Currently when I put audio/images in the default language it will display them for all languages. If I try to put them only in a non default language column, the app crashes when changing to the non default language in ODK Collect.

Also mentioned briefly here:

2. What steps can we take to reproduce this issue?

  1. Create a multilingual form with audio or images in the default language column keeping the other non default language columns blank. The media will show up in the other non default language(s).
  2. Create a multilingual form with audio or images in the non-default language column only. ODK Collect will crash when switching to the non default language.

3. What have you tried to fix the issue?
As I mention here, my current workaround is to just deal with having the default language audio and images show up for all languages.

If you don't want the images to show up for a language, a workaround might be to create a 1 pixel by 1 pixel image (or just a small completely transparent PNG) and use it for all the fields where you don't want an image to show up?

1 Like

This would be a potential workaround, but doesn't look like its possible. I have added audio .mp3 files for the non default language and even when I have that setup correctly with a dedicated column for audio in non default languages, ODK Collect still plays only the default audio when changing between languages. The same happens for images. :person_shrugging:

Hey, @Tyler_Depke !

I have found a funny (but it works flawlessly) workaround for the same. :smile:

Logic:
The thing is - if we don't upload some media file for form attachment, then ODK Collect simply wont be able to display the same to the data collector.

Check / Test this here:
multilingual_images.xlsx (10.4 KB)
png_attachments.zip (52.2 KB)
(Don't upload any attachment for "." & publish the form :grin:)

Hope you find it helpful! :smile: