Multi-language option set approach

Hello @jvradev

Explore in the Bubble documentation and in the forum how AppText works.

Basically it is about using it everywhere in your app with the manually translated languages. Lot of work but worth its while.

Hi, here an example in my app of what you want to archive.

Hope this works for you

I had a different approach to this issue, which might be less work to maintain.

I have created an Option set (it’s called “Mileage type”) which holds 3 Attributes.

  1. Display (Built-in)
  2. Language (which uses the Language Option type I have created)
  3. Identifier (an option number which groups different translations togethers as the same group)

Then in my table which presents my Data type’s data, I have this Mileage type option embeded. In the table element I query the value of this option a bit differntly then you might expect. I query all Mileage type options, and then filter this list against Current row’s milage’s type’s Identifier and Current language. This brings back the options value in the Current language that the user is using.

The downside of this approach will be that the system is storing the value of the Option set in my Data type records in the value of the current language, which results in a less consitent database. Regardless if the user is English or French the actual chosen option is technically the same but the Display value’s that are actually stored are not. However, based on the idenitifier of the Options sets value, this consitency can still be found with some data cleaning. Also you could create consistency by storing values always in the same language, which can be done indirectly through workflows.

@spaccesi Very interesting solution…do you know if that filter constraint with parenthesis (where you get the language code from the url with the option of a default language) is still possible or is it a feature that bubble rolled back?
Thank you

Hello erlendne,
Thx a lot for your way that looks quite easy !
Anyway, sorry I have a question…
I am not too clear how do you specify that your options “Login issues”, “Feature request”, etc… are Thai, Norwegian, etc ?
In other words, where do you specify the text for the Thai,Norwegian, etc… ?

I hope it is clear.
Thx in advance
JB

Thanks for the tip! I now use this solution everywhere. Without a doubt, the best plugin to handle big Option set of translations and other complex Options is the Framify plugin. Additionally, there is a lot more functionality that helps build awesome Bubble applications.