Mulltilanguage app - how to handle different langs

Hi all,

any ideas or best practises how to deal with multi language apps?
My app has a user registration. I want to store the users language in the db - profile. no problem with that.

If a user has a language selected (eg. english or spain …) then I want to display all text items corrospondenting to the selected language.

My app has different text items and I use a mobile layout with only 1 page (show/hide main content groups).

My question is:
The app has a welcome text on the home screen (home group that is visible on start).
Should I really do a dataase question to get this text item (and for every other text item also) that is lang=en (for example)?
In my oppinion this may could be a performance issue and also a hight traffic load to the database to execute all he textfield’s matching language text’s?!?

Is there a way to initialize the whole texts for selected language on startup (pageload)? This would e only one db select for all text for the selected language. Maybe this result could be stored in global (SETPARAM) parameters to fill the correct text in correct language in the specified text oject.

any ideas for that little language “template engine”? :wink:

est,
juppxi

Hi all. Solved the problem :smiley:

There’s already a build-in feature from bubble to handle multilanguage apps: See “Language” in bubble’s “settings” tab. Just create individual placeholders and use them in bubble with “App text(myvar)”.

1 Like

You can also use this video as a reference. I’ve done it on 2 different apps before and it’s really convenient: https://www.youtube.com/watch?v=bSz8F0Pcxj0&t=5s

This topic was automatically closed after 70 days. New replies are no longer allowed.