Internationalization - Translate data from database
Hello All, Is it possible to translate data from database to user selected language? I am using Mendix translate to translate labels and messages. Thanks in advance.
The “regular” Mendix translation only translates hard coded texts in your model. The texts stored in your database are dynamic content. Since this content is not part of your model, it can’t be translated.
There are some options to get what you need.
You can use an external translation service with an API and automatically translate your texts at runtime.
You can store a list of text objects and associate each of them with a language. When displaying it to the user, you can select the correct one based on the users language selection.