Configure the locale at runtime
    In multilingual projects where the user locale is not configured, you can prompt the user to select the session locale through graphic objects at runtime.
Use a custom object containing a NetLogic to display a list of locales. The locale selected in the 
Session
 object changes the locale for the project.- Select.Template Libraries
- SelectWidgets.
- UnderComponents, dragUser Editorinto theUIfolder inProject view.
- InLibraries, selectClose.
- InProject view, expand theUserEditor#folder and dragLocaleComboBox (type)into theUIfolder.
- Right-click theUserEditor#folder and selectDelete.
- InDelete User Editor#, selectDelete.
- InProject view, select theUIfolder.
- In theProject viewtoolbar, selectand then select UI Session. UI Session.
- (optional) WithUISession# (type)selected in theUIfolder, inProperties, inLocale, type the desired starting locale.
- InProject view, select the Presentation Engine.
- InProperties, inSession, select theUISession (type)created in Step 9.
- Right-click the desired target container or page, selectNew, and browse toLocaleComboBox (type)to create an instance.
- InPropertiesfor the new instance, underEvents, inSelection changed, select Add new method. Add new method.
- Select and then selectSet variable value.
- InVariableToModify, choose Select nodeand then select . Select nodeand then select .
- In theValueproperty, select theLocaleComboBox#instance that you are editing, and then chooseSelectedValue.
runtime
    
Provide Feedback