954
Views
5
Comments
[Multilingual Component] Static Entities Translation?
Question
multilingual-mobile-component
Reactive icon
Forge asset by OutSystems

How do I translate Static Entities?

2026-03-09 12-26-51
Fábio Fantato
 
MVP

Harlin Setiadarma wrote:

How do I translate Static Entities?

Hi Harlin,

To have your static translated on the mobile side, you should create a local entity on the mobile side and include a second table to do the relationship between locales and your label translated. So, you can use these 2 tables to this this job.




2024-03-25 06-19-08
Harlin Setiadarma

Maybe I can translate it in synchronization logic to prevent having table join and add extra AO cost for new table.

Or I can add extra attribute in the static entity for translation key, and use GetTranslation in Dropdown expression.

2026-03-09 12-26-51
Fábio Fantato
 
MVP

Harlin Setiadarma wrote:

Maybe I can translate it in synchronization logic to prevent having table join and add extra AO cost for new table.

Or I can add extra attribute in the static entity for translation key, and use GetTranslation in Dropdown expression.

Sure, This could be an option to safe extra AO. If you put a new extra attribute in static you will have only one option to translate. The synch logic could be more flexible, but notice when your user changes mobile language you need to trigger this synch again.


UserImage.jpg
wilko odijk

Hi there,

I have 2 strategies:

(1) fetch serer action using a structure and a mapping in the assign:

(2) client fetch with a calculated attribute like this:

Saludos,

Wilko

2020-08-18 10-03-08
Alexandre Cozette

Hello,

Just to update this post, this is now supported Out Of Box by the OutSystems multilingual capabilities. One just need to be aware that the agregate that retrieves the static entity values has to be refresh after a setCurrentLocale is called to change the locale.

For more information please check the documentation: https://success.outsystems.com/Documentation/11_x_platform/Developing_an_Application/Design_UI/Multilingual_Reactive_Web_and_Mobile_Apps/Translate_your_app#working-with-static-entities

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.