LocaleUpdateExample: Using the Locale Functionality

This example demonstrates how to get different locale settings from the locale DLLs in the system.

Download

Click on the following link to download the example: localeupdate.zip.

Click: browse to view the example code.

Description

An object of the TExtendedLocale class is used to load a number of locale DLLs from the system. For each locale DLL, it gets the following locale settings:

  • Calendar settings

  • Country code

  • Collation method

  • Currency format

  • Date and time format

  • Numeric value settings

  • Time zone information

  • Units of measurement.

See also

Locale Settings

Class summary

Build

The Symbian build process describes how to build this example.

The localeupdate example builds the localeupdate.exe executable file in the standard location (\epoc32\release\winscw\ <build_variant>) for Carbide.c++.