Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Released Translation TUTORIAL] - HOW to translate ANY ROM

OP Tna

9th June 2007, 10:49 AM   |  #1  
Tna's Avatar
OP Member
Flag Manchester - Ιωάννινα
Thanks Meter: 0
 
88 posts
Join Date:Joined: May 2006
More
Hi!

After a long time of trying to cook custom roms in greek language I am ready to post a small tutorial on how to translate your Rom to your Language using kitchens with a quick and dirty way .

Attention there is a better way to do so but this is what I Do to make my Greek ROMS


Step 1)
a)Download your language emulator Files from
http://www.microsoft.com/downloads/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&DisplayLang=en#filelist

(b) extract the files in a new folder.


Quote:

Slumpolo 's suggestion:

-----
to extract files from the emulation rom follow this direction:

- Download Tadzio's imgfs excelent tools in: http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:

Code:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)

> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)

> IMGFSTODUMP IMGFS.BINAnd that's all. Files are dumped in /Dump directory


-----

(c) Rename ALL the 4xx files to 409 (e.g. 0408.mui -> 0.409.mui) Apply this to all files and folders (an eyasier way to do that is to search from windows for all *408* files and then rename them)

Quote:

Slumpolo's suggestion
----

For step 1c) during the translation of italian rom for the mui files that resides in directory I edited also a file (simply with Supered) that has a line that pointed to the 0410 files (ea. italian) and changed this to 409.

----



Step 2)
Find your BASE ROM.


Step 3)
Download your Kitchen. I prefered Anichillus kitchen due to the fact that supports ROM dumping in an easy way


Step 4)
Dump ROM ( If you use Anichullus Kitchen , follow the manual but Stop BEFORE using Bepe's Package TOOL !


Step 5)
Go to DUMP folder ,(eg C:\core\extract\dump) and paste ALL the language files you have renamed from step 1c . ATTENTION you have to copy and paste ALL files from your language folder AFTER you have renamed them to 409 . REPLACE duplicate files


Step 6)
Continue with kitchen steps . For instance if you were to use Bepe's Package TOOL , go on and build the packages.

Step 7)
Edit Initflashes.dat file . Information on how to do that are in every cooking tutorial. In Intflashes.dat file you will have to translate all the links and directories according to your language files. CAUTION if you make mistakes in translation your WM6 will be crappy and programs may not start

->In order to make a good translation check your original rom, or try the WM6 emulator wth your language files and check the directory names (eg
folder Programs in Greek have to be Προγράμματα)

Step 8)
Save Initflashes.dat in unicode and remove first two bytes with a hex editor


Step 9)
Choose your OEM packages.


For GREEK USERS : If you need a greek software keyboard like the original one I have made an OEM package that allows you to do so

Quote:

Slumpolo's suggestion

------
For step 9) / 10) about keyboard, you must add with a oem package also:
- dictionary in your language
- settings for your language
- t9 dictionary for your language
- for keyboard layout make this registry mod:


Code:
Registry Editor:
HKCU >> ControlPanel >> Keybd
Create a string "Locale" with "0410" vale. Everything without "Where 0410 is your country value.
------

Step 10)
build your rom according to your kitchen manual



I hope this helps

Good luck with your tries
Last edited by Tna; 9th June 2007 at 12:19 PM.
9th June 2007, 10:56 AM   |  #2  
slumpolo's Avatar
Senior Member
Flag Rome
Thanks Meter: 52
 
151 posts
Join Date:Joined: Jan 2006
Donate to Me
More
I have used the same method for the italian version but you must translate also some parts of .hv files and .rgu or you must pay more attention during the translation of initflashfiles.dat because not all links and directories can be translated without .hv and .rgu editing.
My suggestion? Edit only initflashfiles.dat

Some add for your excellent tutorial:

----

For step 1b) to extract files from the emulation rom follow this direction:

- Download Tadzio's imgfs excelent tools in: http://forum.xda-developers.com/showthread.php?t=298327
- Unzip the tools along with the image in any folder.
- Rename the image to A.BIN (to make the next commands easier to type).
- Open a D.O.S. command window and perform these commands:
Code:
> NBSPLIT -emu A.BIN
(it generates two files: A.BIN.EXTRA and A.BIN.PAYLOAD)

> IMGFSFROMNB A.BIN.PAYLOAD IMGFS.BIN
(it generates the file IMGFS.BIN)

> IMGFSTODUMP IMGFS.BIN
And that's all. Files are dumped in /Dump directory

----

For step 1c) during the translation of italian rom for the mui files that resides in directory I edited also a file (simply with Supered) that has a line that pointed to the 0410 files (ea. italian) and changed this to 409.

----

For step 9) / 10) about keyboard, you must add with a oem package also:
- dictionary in your language
- settings for your language
- t9 dictionary for your language
- for keyboard layout make this registry mod:

Code:
Registry Editor:
HKCU >> ControlPanel >> Keybd
Create a string "Locale" with "0410" vale. Everything without "
Where 0410 is your country value.

Next days I'll try to release an

Ciao
Last edited by slumpolo; 9th June 2007 at 11:31 AM.
9th June 2007, 11:00 AM   |  #3  
anichillus's Avatar
Retired Moderator
Flag Timisoara
Thanks Meter: 6
 
1,542 posts
Join Date:Joined: Nov 2006
Thumbs up At last :D
Very good..now i can direct all people who ask this question here.
Great initiative
9th June 2007, 11:05 AM   |  #4  
Tna's Avatar
OP Member
Flag Manchester - Ιωάννινα
Thanks Meter: 0
 
88 posts
Join Date:Joined: May 2006
More
Thanks

Slumpolo


Updated
Last edited by Tna; 9th June 2007 at 11:34 AM.
9th June 2007, 11:31 AM   |  #5  
slumpolo's Avatar
Senior Member
Flag Rome
Thanks Meter: 52
 
151 posts
Join Date:Joined: Jan 2006
Donate to Me
More
Quote:
Originally Posted by Tna

Thanks

slumpolo can you post info about the which parts of hv files you edit?

I'll post everything next week. All my files are in office
Ciao
9th June 2007, 12:10 PM   |  #6  
phsnake's Avatar
Senior Member
Flag Bratislava
Thanks Meter: 9
 
552 posts
Join Date:Joined: May 2006
More
btw. as far as i know only certain wm6 builds can be translated using EMU mui files. i dont remember build no's.
9th June 2007, 12:19 PM   |  #7  
Tna's Avatar
OP Member
Flag Manchester - Ιωάννινα
Thanks Meter: 0
 
88 posts
Join Date:Joined: May 2006
More
Why is that ? What are the restrictions?
9th June 2007, 10:26 PM   |  #8  
Member
Thanks Meter: 0
 
40 posts
Join Date:Joined: Feb 2007
does it work for Universal to ?
9th June 2007, 10:38 PM   |  #9  
phsnake's Avatar
Senior Member
Flag Bratislava
Thanks Meter: 9
 
552 posts
Join Date:Joined: May 2006
More
thats what i wrote above, as far as i know(consulted with bepe) 17913 build its not supported(latest uni) it must be build ???? i remember there is 4 in build no. cannot fint irc log with that conv. with bepe
10th June 2007, 01:29 PM   |  #10  
Member
Thanks Meter: 0
 
98 posts
Join Date:Joined: Jan 2006
Hi and thanks for your tutorial. I try to go a different way and want to port over a hermes mui cab to get german wm6. i have some trouble of getting it done.
- the file explorer draws no softkeybar, so it is not usable. does anyone know what files i need therefore?
- the free space when installing a cab isn't displayed correctly

what have i done?
- i took the cab from asukal and removed hermes specific things
- afterwards i copy the files from the emulator image to get newest versions of the files.

if somebody want to test it - here you go:
http://www.gsm-multifund.de/holg/Mak...man_Wizard.cab

i would appreciate every help.
best greetings
holg
Last edited by therealholg; 10th June 2007 at 01:31 PM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes