OnInitializeLocales - cBaseLocalControlHost

Sent when the cWebApp object is loaded to the client (the user loads the page)

Type: Event

Parameters: String sBrowserLanguage Integer iBrowserTimezoneOffsetMins

ParameterDescription
sBrowserLanguageLanguage code string reported by the browser as the preferred user language (for example `en-US, en')
iBrowserTimezoneOffsetMinsTimezone offset in minutes as reported by the browser


Syntax
Procedure OnInitializeLocales String sBrowserLanguage Integer iBrowserTimezoneOffsetMins

Description

This message is sent when the cWebApp object is loaded to the client (the user loads the page) and is intended to be overridden with custom logic to initialize localization options of your application.