[Q] How to translate?


lithid

Regular user
Nov 6, 2010
245
40
Would anyone be able to post a link or point me in any direction in how to translate this rom? I would like to learn how to port and translate myself and see how good I would be able to get it done compared to the awesome devs here.
 
You'd have to use APKTOOL to decompile the APK's that need translating. Then go to RES\VALUES\strings.xml and edit away. Afterwards, recompile. Some may need for you to take the framework-res.apk and incorporate it (apktool -i framework-res.apk). In fact, run that first and then decompile.

There are other files that may need to be edited, but this will get you a ROM that's 95% translated.

Just a word of warning, some files are not that easy to recompile.

What needs to be edited:

framework-res.apk
Launcher2.apk
Backup.apk
Contacts.apk
ContactsProvider.apk
FM.apk
Gallery3D.apk (???)
Mms.apk
Phone.apk
Settings.apk
 
I appreciate it. I figured thats what i needed to do just wanted to be sure there wasn't anything else. Since this is my first time grabbing miui from their site and trying from scratch... thanks a bunch