Hi all! Today I compile most of the locale-dependent files.
Now we can translate UI of Kindle 4 to another languages.
http://twitter.com/#!/5n00p4eg/statu...942145/photo/1
On this foto few string translated to russian lang.
My method doesn't replace exists langs, just add another.
I already write some useful scripts.
My method is as follows:
1. Get all jars from kindle
2. copy and unzip lang-dependent(en_GB) (shell script)
3. decomile .class files to source .java files with JAD (shell script)
4. replace all references to en_GB by selected locale (shell script)
5. Fix some problems in .java files (hands)
6. Translate 195(!!!) .java files (hands)
7. Build (shell script)
8. Pack to jars (shell script)
9. move to kindle
10. add translation to settings (/opt/amazon/ebook/config/locales/)
11. Reboot
12. Select new locale & reboot
13. See new UI translation.
------
Works on Kindle 4 not-touch with 4.0.0 firmware