Hey,
I’ve noticed some unexpected behaviour in my mobile native app and it feels to me as this is a bug.
My native app currently supports 3 languages:
- English (default)
- German
- French
I’m testing on my iPhone, where:
- English and German are under the preferred language list with English at the top of the list and as the main language of the device.
However, when I open the app, it displays in German instead of English even though English is at the top of the preferred list and also English is the default language in my app.
On other devices I’ve tested on, here is what I’ve noticed:
- On Android (English only): app shows in English
- On an iPad (English only): app shows in English
It seems that when there’s more that one preferred language on the device, specifically IOS, the app incorrectly prioritizes it over the primary one. This feels like a bug, especially since I can’t manually select a preferred language for the app in system settings as the option does not show up.
Furthermore, on IOS, it says,
Apps and websites will use the first language in this list that they support
So I would imagine this should be English since this is the default in my app.
My guess would be when the bubble native build engine is generating the CFBundleLocalizations file, the array is arranged alphabetically which means de_de, en_us, fr_fr instead of arranging it the way it exactly is in our Bubble Settings which would be en_us, de_de, fr_fr .
Arranging it alphabetically, essentially removes the priority of the language and makes German in my case the top of the list even though it is not the default language in my Bubble settings.
Would love to know if others are seeing the same.
Thanks!