Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,222 Members 45,525 Now Online
XDA Developers Android and Mobile Development Forum

[TOOL] V4.0.3-xdaAutoTool ALL-Win | V4.0.1b-xdaautoAPKTool | V1.0.3-xdaautoDeoTool

Tip us?
 
Raffie75
Old
#11  
Raffie75's Avatar
Senior Member
Thanks Meter 83
Posts: 764
Join Date: Sep 2010
Location: Amersfoort
@XJ When i read this it's a little abracadabra...

Is it what you're saying we can make our ohne language pack?
Just folow the steps and make your ohne NL pack (in my case) whenever you want and we can adjust it whenever we want?

If I helped you please hit Thanks!
 
xavierjohn22
Old
(Last edited by xavierjohn22; 28th April 2011 at 04:46 PM.)
#12  
xavierjohn22's Avatar
Recognized Developer - OP
Thanks Meter 1974
Posts: 5,104
Join Date: May 2006

 
DONATE TO ME
Quote:
Originally Posted by Raffie75 View Post
@XJ When i read this it's a little abracadabra...

Is it what you're saying we can make our ohne language pack?
Just folow the steps and make your ohne NL pack (in my case) whenever you want and we can adjust it whenever we want?
Yes.

Just grab a deodexed miui rom,
Follow what is in the OP, then you have your language pack, i did it to let others try to make their own.
and it relieves me of human error when translating and making multi lang in MIUI, that why we dont usually get chinese strings, only in some smali's left out when new ones come along
The Following User Says Thank You to xavierjohn22 For This Useful Post: [ Click to Expand ]
 
Raffie75
Old
#13  
Raffie75's Avatar
Senior Member
Thanks Meter 83
Posts: 764
Join Date: Sep 2010
Location: Amersfoort
Man, you are the master!
Can't i put the translated (say the strings) in the right folder and start with step 2 or i think 3 recompile? Or maybe use the Latest translation and wipe all the other languages?


Sent from my HTC Desire using Tapatalk

If I helped you please hit Thanks!
 
xavierjohn22
Old
#14  
xavierjohn22's Avatar
Recognized Developer - OP
Thanks Meter 1974
Posts: 5,104
Join Date: May 2006

 
DONATE TO ME
Quote:
Originally Posted by Raffie75 View Post
Man, you are the master!
Can't i put the translated (say the strings) in the right folder and start with step 2 or i think 3 recompile? Or maybe use the Latest translation and wipe all the other languages?


Sent from my HTC Desire using Tapatalk
Yes you can do both
yup if you do the first grab the stock apks from a deodexed rom, same version. or grab the apks from my EN and ZH rom
then yeah put your values-nl, raw nl in the right places.

the next one will work too. and you can see how the folders are structure after decompile in the framework-res, so it will aid you in committing mistake

after that both will result in lesser size apks than the multi lang since you just have your language
The Following User Says Thank You to xavierjohn22 For This Useful Post: [ Click to Expand ]
 
xavierjohn22
Old
#15  
xavierjohn22's Avatar
Recognized Developer - OP
Thanks Meter 1974
Posts: 5,104
Join Date: May 2006

 
DONATE TO ME
Quote:
Originally Posted by droidzone View Post
Will definitely do that..

Swyped with my Starburst based Desire. Please ignore any typos or grammos.
Okay. Buddy.thanks.

Sent from my HTC Desire using XDA App
 
affmalg
Old
#16  
affmalg's Avatar
Senior Member
Thanks Meter 36
Posts: 151
Join Date: Oct 2010
Location: Stockholm
Nice tool xavierjohn

While apk manager faild to recompile my apks this works.
But my xml edits aren't in apk after recompile. Why?
What option should i change?
HTC Desire - S-OFF - 16GB mSD - Case-Mate Though Case
 
xavierjohn22
Old
#17  
xavierjohn22's Avatar
Recognized Developer - OP
Thanks Meter 1974
Posts: 5,104
Join Date: May 2006

 
DONATE TO ME
Quote:
Originally Posted by affmalg View Post
Nice tool xavierjohn

While apk manager faild to recompile my apks this works.
But my xml edits aren't in apk after recompile. Why?
What option should i change?
What kind of xml dude?
Is it inside the values? I mean you straight edit from values? Or any folder?

Sent from my HTC Desire using XDA App
 
affmalg
Old
#18  
affmalg's Avatar
Senior Member
Thanks Meter 36
Posts: 151
Join Date: Oct 2010
Location: Stockholm
Quote:
Originally Posted by xavierjohn22 View Post
What kind of xml dude?
Is it inside the values? I mean you straight edit from values? Or any folder?

Sent from my HTC Desire using XDA App
Sorry that i didn't mention it.
The xml i edited were was framework-res/res/value/styles.xml and framework-res/res/drawable/progress_horizontal.xml
I opened i with notepad++ and edited a color hex code, saved and recompiled.

What do you mean with folder?
HTC Desire - S-OFF - 16GB mSD - Case-Mate Though Case
 
Ivanovic
Old
#19  
Ivanovic's Avatar
Senior Member
Thanks Meter 76
Posts: 540
Join Date: Jun 2010
Location: London
Thanks a lot for the tool. I m gonna give it a try tomorrow while preparing the greek pack for the latest MIUI
HTC One X - Asus Transformer TF101 - HTC One soon
 
xavierjohn22
Old
(Last edited by xavierjohn22; 28th April 2011 at 05:18 PM.)
#20  
xavierjohn22's Avatar
Recognized Developer - OP
Thanks Meter 1974
Posts: 5,104
Join Date: May 2006

 
DONATE TO ME
Quote:
Originally Posted by affmalg View Post
Sorry that i didn't mention it.
The xml i edited were was framework-res/res/value/styles.xml and framework-res/res/drawable/progress_horizontal.xml
I opened i with notepad++ and edited a color hex code, saved and recompiled.

What do you mean with folder?
Ah sorry too, i was not clear either.

Usually i do values-en or values-zh or drawable-en when i do translation in miui.

Anyways, it should save the changes upon recompile.
During build usable make sure:
Overwrite resources.arsc : (10) = ON
Overwrite classes.dex : (11) = ON

10, mostly handle those edits in values xml files
11, when smali edits are made

EDIT:
Ah shocks wait, i am looking at it, seems like i turned it off by bypassing the script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes