Hi
I am creating the translation on a mobile app, but in addition to the App text values, I will also have dynamic text in the database translated by AI.
When opening the app, how can I retrieve the phone’s language to store it in the user table in the OS_language field?
I had a lot of problem with this, I contact Bubble to have more information. But here is what I learned.
Basically the language is coming from the “Current language” dynamic data.
When it comes the the language section in mobile, you have to go to the supported language section tab and add the supported language. This section is the equivalent languages section of the “webapp” version.
When the user will connect to the app, it will take the phone language and match the language in the supported language tab.
Here is the case of the english language when you edit the data
Weird thing : I learned that adding multiple regions/dialects for one select fallback language doesn’t seems to work well (example : en_us, en_ca, en_uk, etc). You better choose only one region for only one select fallback language (like shown in the picture). I tried to add many regions for one select fallback language and it never worked. It never shown the language used correctly in my languages tab.
What is the “Language field on the user type” ? Your User object can have a language field that will be referenced when you changed the language of your Webapp. So if you switch between different language, it will show the correct text based on the region (en_us, fr_ca, etc). Normally the language displayed for each App Text() will match the correct language.
In my case, the Main Language field is a basic text in the User Object that can be “fr_ca” or “en_us” to display the correct text.
You can use this user field as a condition to modify the text displayed instead of using the App Text() dynamic data.
This works well when you already created a Webapp and that you want to create the same Native App with the same language option. This is what I did to make it work. The biggest advantage of the native app version is that you don’t need a trigger anything to change the language, it will automatically updated when the user change his/her language in his/her phone setting (compare to the webapp version).
Hope it helps.
Hi, I have a Bubble web app that I’ve published to the App Store/Play Store using a wrapper (Nativley). The primary language is German. I’d like to add more languages. What would be the best way to show a user the specific language (via App text) based on the device language? Where does the value come from? I tried “current language” but it´s always de_de even if I change device language to english.
Cheers
@nick.carroll Is it possible or are there plans to allow a user-defined override to control which App Texts are displayed in a native mobile app?
I have a client with a B2B use case where they need to set a single language for an entire company’s employees, regardless of their individual device language. For instance, a company operating in French must have all app content (headings, labels, etc.) display in French for all users, even those with English devices.
The web app handles this with a custom language field, but my understanding is the native app’s App Texts are fixed to the device language/fallbacks
I know a workaround here would be to use conditions instead, but that isn’t really scalable if the platform wants to offer this in 2+ languages. It would be great to have an option to use the web app behavior where App Texts go off the custom language field on the user record.
Please let me know if I’m missing a current solution though!





