Transcript
Page 1: Localising Series 40 web apps

Localising Series 40 web apps 28 March, 2013

Naresh Kumar N, Senior Developer, Nokia Web Tools

Page 2: Localising Series 40 web apps

Agenda:

Localisation : What ? Localisation : How to create ? Localisation : What can be localised ? Localisation : How to test ? Localisation : Demonstration

Page 3: Localising Series 40 web apps

Localised apps : What ?

Page 4: Localising Series 40 web apps

Localisation : How to create ?

Series 40 web apps support localisation in compliance with the W3C widget specification. Localisation support is folder based. Create a directory called “locales” inside widget’s root directory. Create locale specific folders inside “locales” folder, with locale names. For ex: en, fr, de, zh-CN, zh-TW Include different resources that are appropriate for the locales.

Page 5: Localising Series 40 web apps

Localisation : What can be localised ?

Resources that can be localised:

Widget start file Java Script resources Cascaded Style Sheet (CSS) resources

Page 6: Localising Series 40 web apps

Localisation : How to test ?

Localised apps can be simulated using Web App Simulator(WAS) in Nokia Web Tools.

WAS currently supports four languages for localisation: English Chinese Russian Indonesian