Keep code and content separate.
Use Locales.
In UI component design, allow for text expansion.
Do not concatenate. Localizing concatenated strings is difficult or impossible.
Do not reuse strings. The context, meaning, or the space available may change, making localization difficult.
Use re-orderable parameters in strings.
Do not use text in graphics. It all needs to be localizable.
Comment the text strings. See .loc
file
template and localization instructions.
Use common components
Use AVKON component library wherever possible.
Use StringLoader.h
for re-orderable
parameters.
Use CharConv
for inbound and outbound
character conversions.
CharConv
contains conversion tables
for all supported S60 languages and most common encodings.
Use locale for sorting.
Use AVKON time and date formatter strings for time/date formatting, or if you need to have new formats, use locale formatters.
Follow the formats and use provided templates.