Programmer Reference : National Language Support : Overview of National Language Support : Locale change notification and the image startup sequence
Locale change notification and the image startup sequence
A special SubApplication class protocol is provided to enable applications to reconfigure in response to Locale initialization.
1. The current Locale is determined based on the platform default locale.
2. The message preStartUp is sent to all loaded (sub)applications in prerequisite order.
3. The message localize is sent to all loaded (sub)applications in prerequisite order.
4. The message startUp is sent to all loaded (sub)applications in prerequisite order.
Applications can override the localize method to perform any required locale-specific configuration.
Note:
The Locale class is initialized automatically at image startup, and can be reinitialized manually by evaluating Locale initializeCurrentLocale. For example, when using Windows ME, you might want to update the current locale after changing the settings in the International control panel.
SubApplication class
localize
This message informs currently loaded Application and SubApplication classes that the current locale has been changed. This message is sent to all loaded Application and SubApplication classes on image startup, and each time the current locale is successfully initialized (that is, by evaluating Locale initializeCurrentLocale).
Last modified date: 01/29/2015