Localization sample code

by Jouni Miettunen


Warning: ksort() expects parameter 1 to be array, object given in /home/croozeus/public_html/blogs/wp-content/plugins/yet-another-related-posts-plugin/includes.php on line 256

Localization testOne feature, which well-done applications have, is localization. It sets you apart and ahead of normal English-only competition, expands your possible customer base and is just polite.

Since everything else is easy with PyS60, there is no reason why localization should be any more difficult! It’s just a question of using KISS principle: “Keeping It Simple and Short”.

Here is sample code, inspired by MWS, demonstrating one way how to do text string localization. Please note that “real, full” application localization includes also graphics and layout related issues, which are not covered in this sample.

http://jouni.miettunen.googlepages.com/localizationtest

Enjoy,

–jouni

Related posts:

  1. Touch Stick 1.00 (PyS60 sample code) Touch Stick demonstrates how to code Touch UI device's...
  2. Timer Sample v1.20 Timers, love to hate. They look like they work -...
  3. Font Test v1.20 This is sample code for PyS60 (at least v1.4.5), presenting...
  4. TypeError: ‘int’ object is not callable Last night I spent a lot of time debugging this...
  5. Undocumented appuifw.Text() font method parameters PyS60 1.4.4 manual briefly says (page 27) that the "font"...

Related posts brought to you by Yet Another Related Posts Plugin.