Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

(Difference between revisions)

Widget Localization

From Wiki
Jump to: navigation, search
Rahulsingh1m (Talk | contribs)
hamishwillee (Talk | contribs)
m (Hamishwillee - Add Abstract. Improve categories)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Usability]][[Category:Web Runtime (WRT)]]
+
[[Category:Usability]][[Category:Symbian Web Runtime]][[Category:Localization]]
 +
{{Abstract|Widgets, like native applications, can be easily localized. Localization requires widget developers to provide localized resources, such as strings, images, language-specific layouts.}}
  
==Description==
+
{{ArticleMetaData <!-- v1.2 -->
Widgets, like native applications, can be easily localized. Localization requires widget developers to provide localized resources, such as strings, images, language-specific layouts.
+
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) -->
 +
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 +
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20090622
 +
|author= [[User:Rahulsingh1m]]
 +
}}
  
 
== Some usability guidelines ==
 
== Some usability guidelines ==
Line 20: Line 41:
 
Provide language directory, e.g. fi.lproj<br/>
 
Provide language directory, e.g. fi.lproj<br/>
 
Provide InfoPlist.strings and define the localized strings there.<br/>
 
Provide InfoPlist.strings and define the localized strings there.<br/>
 +
 +
 +
== Related Links ==
 +
 +
* [[How to localise a WRT widget]]

Latest revision as of 05:40, 10 October 2012

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

Article Metadata
Article
Created: User:Rahulsingh1m (22 Jun 2009)
Last edited: hamishwillee (10 Oct 2012)

[edit] 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.

[edit] 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.


[edit] Related Links

This page was last modified on 10 October 2012, at 05:40.
103 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×