Below are steps on how to add a new locale to Nokia 770. I have added "zh_CN" locale to my Nokia 770 successfully, but I think it's a "ugly" way to do this. Also note I only test this on IT OS 2006. So please do this on your own risk.
On your PC:
1. Prepare a Maemo development environment. Using ARMEL SDK rootstrap, install 'locales' package in scratchbox. After that, run 'localdef' to compile a new locale:
[sbox-SDK_ARMEL: ~] > apt-get update
[sbox-SDK_ARMEL: ~] > fakeroot apt-get install locales
[sbox-SDK_ARMEL: ~] > localedef -f UTF-8 -i zh_CN zh_CN
2. Verify it in sbox:
[sbox-SDK_ARMEL: ~] > localedef --list-archive
You should see the newly added locale in the output.
3. Copy /usr/lib/locale/locale-archive to your device.
On your device
4. Upgrade your device to Internet Tablet OS 2006.
5. Add Maemo Garage and Maemo respository to your Application Catalogue.
6. Follow this howto to get root access. You need install Xterm and Dropbear on your device.
7. Install 'locales' package by run this command in Xterm (as root):
# apt-get install locales
8. Copy your font files to /usr/share/fonts/truetype, you may create a subdirectory for your font files in it. Run following commands to add the fonts:
# fc-cache -f -v
# fc-list
9. Copy message files from 'en_GB' locale to your locale:
# cp -i /usr/share/locale/en_GB/LC_MESSAGES/*.mo \
/usr/share/locale/zh_CN/LC_MESSAGES/
Note: DON'T overwrite those existing mo files.
10. Overwrite existing locale-archive file. Backup the original /usr/lib/locale/locale-archive first, then overwrite it by the one from sbox. DON'T use 'cp' command directly. It may cause the device to reboot. I use following commands to avoid this:
# cp /media/mmc1/locale-archive /usr/lib/locale/locale-archive-new
# cd /usr/lib/locale
# echo ""> locale-archive \
&& mv locale-archive-new locale-archive
11. Verify it on your device:
# locale -a
Now, you should view characters in your language on Nokia 770, including Opera browser, Rss feed reader, File manager, etc. I put some screenshots on flickr.
In case something is wrong, you can reflash your device with the IT OS 2006 image.
Known issues:
- Web page title may not be displayed correctlly.
- DON'T change your region settings to your locale or you will NOT be able to input anything because the virtual keyboard disappears.