This C++ code example demonstrates how to localise an application to adapt to the selected phone language. The example application has two sets of localised strings (English and German) for the application name, labels, text, and image. The application also includes number, currency, date, and time localisation, in which the TLocale method is used for localisation even if the selected phone language is neither one of the two application languages. The updated example has been tested to support S60 5th Edition and touch UI.

Main classes: TLocale, TTime, TRealFormat, StringLoader.

Resource information

Intermediate

S60 Platform: Localisation Example

XML description:
This C++ code example demonstrates how to localise an application to adapt to the selected phone language. The example application has two sets of localised strings (English and German) for the application name, labels, text, and image. The application also includes number, currency, date, and time localisation, in which the TLocale method is used for localisation even if the selected phone language is neither one of the two application languages. The updated example has been tested to support S60 5th Edition and touch UI.

Main classes: TLocale, TTime, TRealFormat, StringLoader.

type:
Example
topic:
Localization
S60
     S60 3rd Edition
     S60 5th Edition
Symbian C++
Intermediate
17 March 2009

S60 Platform: Localisation Example v1.1

This updated C++ code example demonstrates how to localise an application to adapt to the selected phone language. The example application has two sets of localised strings (English and German) for the application name, labels, text, and image. The application also includes number, currency, date, and time localisation, in which the TLocale method is used for localisation even if the selected phone language is neither one of the two application languages. This updated example has been tested to support S60 5th Edition and touch UI.

Zip Archive (.zip); English (en)

 
 
Additional information
distribution:
Global Web Site
S60 Web Site
publication rights:
Copyright © 2006-2009 Nokia Corporation.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved