multilingual-selector
Reactive icon

Multilingual Selector

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 26 November 2020
 by 
5.0
 (3 ratings)
multilingual-selector

Multilingual Selector

Documentation
1.0.1

1. Preparing backoffice to configure the locales you want to use


Depending on what you have already set up in your factory, you want to have a new backoffice or have the configuration of the locales in your existing one. For that, two scenarios can be presented:


  • You have your own administration backoffice where you want to integrate this configurations
    • Use webblocks from ConfigurationFlow to display a list and create / edit / remove a locale


  • You do not want to integrate in a backoffice
    • Use the Demo application which already has it all set to manage your factory / application locales


Note: Don't forget to define your default Locale, the one that people entering your application for the first time will see.


2. Create the locales your application / factory will support


3. Use one of the two widgets (WB_LocalesDropdown and WB_LocaleList) to allow user to see the selected Locale and change to one of your configured Locales in step 2. Define your parameters to use the layout you want.




4. Call the function ClientVariable_SetLocaleDefault when the user logs in and OnApplicationReady to guarantee that the default language is set when the user logs in.