View Single Post
Old 12-15-2011, 08:30 PM   #317
nickdotcat
Junior Member
nickdotcat began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2011
Device: Kindle4 NT
Smile

Quote:
Originally Posted by 5n00py View Post
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
Great! Hope you can share your scripts with detail steps so that others can make more language packages, including me..

Hi all, I'm a new comer here~~
nickdotcat is offline   Reply With Quote