Hi, I am building a mobile app which should display texts in English or French depending on the user’s language preference. I have created each field as a dynamic data with app text, a language selector has been created on the sign up page, I have created an option set for the language options and a workflow using “to change a thing” when the language list is selected. But at the moment the app only displays in english which is because that’s is my primary language. I have changed the primary language to french and all the fields were translated to French as I have translated all my app text fields in both English and French. Could you please advise why on selecting any of the languages from the sign up page both on preview and bubblego, the texts fields dont change dynamically. Also, I read online that a page reload should be included in the workflow. But there currently isnt a “page reload”option among the list of actions in the workflow options.. Thanks
Hey! @sunita.mabu This is a common issue when setting up multi-language apps in Bubble. Changing the primary language in the app settings only affects the default text, and dynamic switching requires a bit more setup. Since you’ve created a language selector and option set, the key is making sure each text element displays content based on the user’s selected language, usually via a field like Current User's language.
You don’t actually need a “page reload”, instead, you can use a custom state or a field on the user to track the selected language, and then have all your text elements reference that value dynamically. For example, each text element would show App Text’s French if Current User's language = French or App Text’s English if it’s English.
The page reload mention you saw online is just to force Bubble to re-evaluate all dynamic data, but you can achieve the same effect by triggering a workflow that sets a custom stat for the current language and having your text elements pull from that state. This way, switching the language updates all text immediately without needing a reload.