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:
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.