This page was last modified 08:57, 14 February 2008.
Adding your own translation
From Forum Nokia Wiki
Here is how to translate MWS localization files into a new language.
- Find out all the _loc.py files, there is one in /htdocs/Framework and one for each web application in /htdocs/Web_Applications. Start by copying one of the file and edit your own translations to a new file. For example to create Swedish localization, you need to create mws_framework_se_loc.py file in /htdocs/Framework and similarly a _se_loc.py file for each web application.
- Edit file /htdocs/Framework/WebFrameworkConstants.py: add your new language into two places (here Swedish is added)
- SUPPORTED_LANGUAGES = ('en', 'fi', 'fr', 'de', 'it', 'es','se')
- LANGUAGE_NAMES = {'en':'English', 'fi':'Finnish', 'fr':'French','de':'German', 'it':'Italian', 'es':'Spanish', 'se':'Swedish'}
- That's it! Now restart the server and you should see your new language available in Settings web page.
Why not make your translation to other users? Upload it to http://mosh.nokia.com and add tags 'mymobilesite' and 'mobilewebserver'. Please also drop a note to us: https://secure.mymobilesite.net/contact/.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RAS setup for EPOC emulator | rkuppala | Symbian Networking & Messaging | 7 | 2005-03-17 06:35 |
| Release date for Widget SDK? | esogge | WRT Widget Development | 8 | 2007-10-15 07:34 |
| Check for a duplicate entry in the phonebook | thomasraku | Symbian User Interface | 4 | 2007-07-12 14:07 |
| how to create a secure j2me application | Basu | Mobile Java General | 8 | 2007-08-23 08:35 |
| Mobile to Mobile udp messaging | muaz111111 | Symbian Networking & Messaging | 5 | 2008-05-11 10:37 |
