×
Namespaces

Variants
Actions
(Difference between revisions)

Widget Localization

From Nokia Developer Wiki
Jump to: navigation, search
Rahulsingh1m (Talk | contribs)
(New page: Category:UsabilityCategory:Web Runtime (WRT) ==Description== Widgets, like native applications, can be easily localized. Localization requires widget developers to provide localiz...)
 
Rahulsingh1m (Talk | contribs)
Line 3: Line 3:
 
==Description==
 
==Description==
 
Widgets, like native applications, can be easily localized. Localization requires widget developers to provide localized resources, such as strings, images, language-specific layouts.
 
Widgets, like native applications, can be easily localized. Localization requires widget developers to provide localized resources, such as strings, images, language-specific layouts.
 +
 +
== Some usability guidelines ==
 +
 +
* Languages which are read from right-to-left like Arabic, should also be handled.
 +
* When needed, images and icons should also be localized.
 +
* Should support native currency, number and date.
  
 
== How it works ==
 
== How it works ==
 +
 
* '''Localized resources(e.g. strings, icons) are provided in a separate directory named as xx.lproj, where xx are two characters identifying the language.'''
 
* '''Localized resources(e.g. strings, icons) are provided in a separate directory named as xx.lproj, where xx are two characters identifying the language.'''
 
* '''Widget engine (WRT library) searches for language variants whenever'''<br/>
 
* '''Widget engine (WRT library) searches for language variants whenever'''<br/>

Revision as of 19:41, 23 June 2009


Description

Widgets, like native applications, can be easily localized. Localization requires widget developers to provide localized resources, such as strings, images, language-specific layouts.

Some usability guidelines

  • Languages which are read from right-to-left like Arabic, should also be handled.
  • When needed, images and icons should also be localized.
  • Should support native currency, number and date.

How it works

  • Localized resources(e.g. strings, icons) are provided in a separate directory named as xx.lproj, where xx are two characters identifying the language.
  • Widget engine (WRT library) searches for language variants whenever

@import directive is used
Any resource is loaded
"src" attribute is used

  • Localizing "info.plist"

Provide language directory, e.g. fi.lproj
Provide InfoPlist.strings and define the localized strings there.

78 page views in the last 30 days.
×