Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,247 Members 50,942 Now Online
XDA Developers Android and Mobile Development Forum

[Released Translation TUTORIAL] - HOW to translate ANY ROM

Tip us?
 
Tna
Old
(Last edited by Tna; 9th June 2007 at 11:19 AM.)
#1  
Tna's Avatar
Member - OP
Thanks Meter 0
Posts: 88
Join Date: May 2006
Location: Manchester - Ιωάννινα
Post [Released Translation TUTORIAL] - HOW to translate ANY ROM

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
 
slumpolo
Old
(Last edited by slumpolo; 9th June 2007 at 10:31 AM.)
#2  
slumpolo's Avatar
Senior Member
Thanks Meter 52
Posts: 151
Join Date: Jan 2006
Location: Rome

 
DONATE TO ME
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
#MILF lover
 
anichillus
Old
#3  
anichillus's Avatar
Retired Moderator
Thanks Meter 6
Posts: 1,542
Join Date: Nov 2006
Location: Timisoara
Thumbs up At last :D

Very good..now i can direct all people who ask this question here.
Great initiative
Are you looking for a WebDesigner?
"One Meets His Destiny Often On The Road He Takes To Avoid It"
 
Tna
Old
(Last edited by Tna; 9th June 2007 at 10:34 AM.)
#4  
Tna's Avatar
Member - OP
Thanks Meter 0
Posts: 88
Join Date: May 2006
Location: Manchester - Ιωάννινα
Thanks

Slumpolo


Updated
 
slumpolo
Old
#5  
slumpolo's Avatar
Senior Member
Thanks Meter 52
Posts: 151
Join Date: Jan 2006
Location: Rome

 
DONATE TO ME
Quote:
Originally Posted by Tna View Post
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
#MILF lover
 
phsnake
Old
#6  
phsnake's Avatar
Senior Member
Thanks Meter 9
Posts: 552
Join Date: May 2006
Location: Bratislava
btw. as far as i know only certain wm6 builds can be translated using EMU mui files. i dont remember build no's.
history: HTC Universal ->Artemis -> Polaris -> HD -> HD2 -> Evo 3D, Sensation -> SG Note II

SG S4
HTC Desire 500 - 1SIM
 
Tna
Old
#7  
Tna's Avatar
Member - OP
Thanks Meter 0
Posts: 88
Join Date: May 2006
Location: Manchester - Ιωάννινα
Why is that ? What are the restrictions?
 
ZorgX
Old
#8  
Member
Thanks Meter 0
Posts: 40
Join Date: Feb 2007
does it work for Universal to ?
 
phsnake
Old
#9  
phsnake's Avatar
Senior Member
Thanks Meter 9
Posts: 552
Join Date: May 2006
Location: Bratislava
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
history: HTC Universal ->Artemis -> Polaris -> HD -> HD2 -> Evo 3D, Sensation -> SG Note II

SG S4
HTC Desire 500 - 1SIM
 
therealholg
Old
(Last edited by therealholg; 10th June 2007 at 12:31 PM.)
#10  
Member
Thanks Meter 0
Posts: 98
Join Date: 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


LifeStats Automatic Journal Keeps Tabs of Your Day

Most of us live very active lives. This is after all why we’re fans of mobile … more

Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more

Google Glass XE20.1 Update Brings Improved Contacts, Head Nudge, New Cards and Commands

Ever since Google unveiled Android Wear earlier this … more