62
Views
7
Comments
Solved
How get Multilingual translations from library module in reactive module?
Question

I want to get translations from traditional module where I have the dictionary and translations in Multiligual folder, from the Reactive module where that functionality is not working in Outsystems. Is there any smart way to do that?

Solution
Rank: #6683

Thanks, but what with system controls, for example "records" word in rich widget for tables? And with static entity?

Hi Jordan,


For Static Entities, you can adopt this step by step:

1. add an attribute with data-trans:

2. Then you can create an action with two outputs the Label and the Data-Trans:

3. Use the function GetTranslation (the inputs of this action will be the outputs of the action in Step 2):


The action Get Translation is from the Multilingual Component available on Forge: 


https://www.outsystems.com/forge/component-overview/1784/multilingual-component


Below I posted an interesting video from ODC 2018 regarding translations in mobile ( is quite similar for Reactive) to guide you:

https://www.outsystems.com/learn/lesson/1736/multiple-languages-and-mobile-apps


For translate data from Entities, you will need to extend your data model to have the locale and the text translated and adapt the queries to show the translated text.


Cheers,

Luís

Rank: #6683

Ok, but what with texts from rich widgets?

Champion
Rank: #87

Hi Jordan,

You are talking about a Reactive application. You don't need (nor want) to use Rich Widgets in these type of applications as there are known conflicts. So be sure that this is not the case and if you do use Richwidgets please use the alternative from OutSystems UI.

Greetings,

Vincent

Rank: #6683

Vincent Koning wrote:

Hi Jordan,

You are talking about a Reactive application. You don't need (nor want) to use Rich Widgets in these type of applications as there are known conflicts. So be sure that this is not the case and if you do use Richwidgets please use the alternative from OutSystems UI.

Greetings,

Vincent

 

 Im using rich widgets in another, traditional module

Rank: #69

To update:

Native support is already available in Reactive and Mobile Apps (Platform Server - 11.10.0 or higher),

https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Technical_Preview_-_Multilingual_Reactive_Web_and_Mobile_Apps/Translate_your_app