View Single Post
Old 12-15-2011, 12:32 PM   #314
5n00py
Junior Member
5n00py began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle 4
Localization

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
5n00py is offline   Reply With Quote