Multilanguage between modules

Multilanguage between modules

  

Hi everyone,


I'm using multilanguage in one application. My problem is that I want to use it with some components that are in other module (core). I'm using multilanguage there too but how can I reflect that in the interface?


Thanks for your help!


Best regards,

Ricardo Pereira

Hi Ricardo,

I'm not sure I fully understand your question. Within a Session, the current locale (set by SetCurrentLocale() from System) determines which locale is used, if available in the module. All modules or apps the current Session is valid for use that locale.


Solution

Hi Ricardo,

OutSytems platform will display all interfaces with same multi-language definition, if this definition was specified during the user session.

Meaning that you can make any reference any module which contains the multi-language definition, and those language elements will be translated and displayed to user.

Just do not forget two things, firs to specify the definition of each element in the multi-language folder of interfaces, second to specify the user language by function SetCurrentLocale.

Regards,

Solution

Hi Kilian and Marco,


I will verify all that points and tell you later if the problem is solved.


Thank you both!


Cheers!

Hi Kilian and Marco,

I'd forget to specify the definition of the multi-language folder in core.


Thank you both!


Cheers,

Ricardo


You're most welcome :).