OnInitializeLocales - cWebApp

Called when the WebApp is loaded to the client

Type: Event

Parameters: String sBrowserLanguage Integer iBrowserTimezoneOffsetMins

sBrowserLanguageLanguage string provided by the browser. Examples of valid language codes are: "en", "en-US", "de", "fr", etc.
iBrowserTimezoneOffsetMinsThe offset in minutes between UTC and the time zone, as indicated by the browser

Procedure OnInitializeLocales String sBrowserLanguage Integer iBrowserTimezoneOffsetMins


This event is called when the WebApp is loaded to the client. It can be used to initialize localization options of the application based on information provided by the browser.

The event is fired before OnLoad and ClientTranslations on the cWebApp object.

Web Properties can be used during this event.