Let widgets provides localization
From Forum Nokia Wiki
Let_widgets_provides_localization
As we know a good widget should be support localization. A famous Opensource Project: WebKit, will be has a greate application on Nokia Device. Webkit provides basci localization support, so that widgets can be localized to support multi-languages. It suport localization too. let's start.
if you know apple widget structure,or you know i18n, you should be know
en.lproj fr.lproj zh_Hans.lproj zh_Hant.lproj
[root]\[xx].lproj\your resource files(javascript,image,css) xx = en,fr,zh_Hans,zh_Hant
well,you can write a widget as your habitual code. when you want to released it, you can create some folder under you widget root, named the folder as the follow:
en.lproj fr.lproj zh_Hans.lproj zh_Hant.lproj etc.
translate the properties files, javascript files, images,css files to fit the correct directory. create the widgets by "nokia widget eclipse plugin"(you can google it) .or zip widget by yourself and rename the file extension name "zip" to "wgz"
install the widgets, change your language for you device(phone or emulator).you can see your widget is localization yet.
mawei.81@gmail.com
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Asian Language (Japanese/Chinese) localization fonts | georgechen | Mobile Java General | 1 | 2006-05-24 01:42 |
| Help with multilanguage app | nimithingu | Mobile Java General | 2 | 2008-08-25 07:01 |
| Cshlp localization | pink_lemonade | General Symbian C++ | 0 | 2004-05-07 08:42 |
| Accessing fields in resources | uttumuttu | General Symbian C++ | 0 | 2006-08-11 15:11 |
| Tab Control | srkreddy999 | Mobile Java Media (Graphics & Sounds) | 1 | 2006-01-16 21:55 |
