Language files in Manila??? - Touch Diamond, MDA Compact IV Themes and Apps

How can I easily select and delete xml language files which I will not use from a manila set (app. 1000 files)?

You can open all *_manila files with EditPad Lite! I've deleted with this little cool app near about 600 language relatet files! Now I have a cleaned TouchFlo3D with only EN-US (basic language, must be present!!!) and DE-DE!
Language files have a lang="XX-XX" line (where XX-XX is you lang code), so you can easily search for such files!

Thank you very much, happy new year...

Related

UI Language Switch System on Universal

NOKIA freak asked me!
"Can you swtich the UI Language on WM5 ?"
Of course i proudly said to him "YES" !!
My Sleepless Battle has began at that night!!
Now i almost made that!
@Use "Autoconfig" to load reistry cab files which need to localize from ExtROM.
@Shellress.dll.xxxxx.mui in all languages can share one set of "Shell Folders"
and Subfolders of My Documents.
So you can use same applications before and after switch Language,
Also your documents are same place in My Documnets.
@now testing to add sets of mui for 3 kinds of different languages on ROM,
This means 4 kinds of languages can be swithched with mui in rom.
Tried to inject 5th mui sets,,,,,,ROM had been crash!
Japanese,English, Simple Chinese and Trad Chinese MUI are in ROM.
and the 5th mui German is on RAM,,,That is my test ROM.
But not included Input system, just use SIP of Defaul OS.
4 x languages MUI in the ROM, 5th and more MUI sets on the RAM <If you need>
this test was use the Japanese Inter face mainly, so just use for my self.
I am plannning to make Chinase ROM it can be switched CHS to CHT, also CHT to CHS.
Then also try to make another european languages version, if someone need.
French & German,,,Italian,,,or some,,,,but should be used existing MUI.
<But not for the commercial use!!!>
Dose anyone interestiing in this and work together???
Following captures are not from different ROM, just one ROM!
Where's that app please?
sorry this is not stand alone application.
must be come with edited rom.
mine was not complited and not for european.
so i say if aomeone want to make europiean, i can work with.
of course we can make stand alone application, bu it will need much ram space,
one set of mui and language pack need 2MB.
if u dont afraid about ram space,
i will make stand alone applicaton.
d u need? and what language u need?
Maybe you could share how you did it?
I'm pretty sure you'd be able to do this in RAM too
Very nice Asukal , look forward and wait you finish it
Asukal said:
sorry this is not stand alone application.
must be come with edited rom.
mine was not complited and not for european.
so i say if aomeone want to make europiean, i can work with.
of course we can make stand alone application, bu it will need much ram space,
one set of mui and language pack need 2MB.
if u dont afraid about ram space,
i will make stand alone applicaton.
d u need? and what language u need?
Click to expand...
Click to collapse
if possible install FotgottenNationsNo5 cab first and patch front cab and language switcher cab install plus CHT_mui.cab,CHT_Today_113.cab
CPL_CHT.cab,CHT_Notifi_COM_BT.cab ?
Thanks
To, Mr,Wang
the cabs you mentions are just registries,
of course if add anther cab which contain MUI files to this Program,
Possible i think,
i will make such like a Cabs with German MUI files for following replay
---
To
TheBlasphemer
and jmdrizen
ya, of course it can be from RAM,,,,my German Inter face is came from RAM i said,,,,
OK,,,,
very easy,
just put the mui into windows folder,
and make Swithcer to sintall cab files to change the value of Registry,
one idea!
all of registry and mui for one languages into one cab,,,
but this case, RAM will wast space double!
space for contain the MUI and CAB
and space for the copied resources in the WIndows folder.
any way, i tried to make for cab,,, to use on RAM.
i attached files to test;
ftp://[email protected]/Universal/UISwitcher_ENG_Ger_test.zip
German mui is in this CAB, Eglish mui is not here,
so pls test this on English device.
make cabs loacte in Temp foder, and once selct Language,
Language Swither will make those CABs install automaticaly.
@@Extract "UISwitcher_ENG_Ger_test.zip"
@@find folder named "To_Temp_folder"
Pls lacate all CABs to Root\Temp\
@@Find UISwitcher_ENG_Ger_test.cab
Excute UISwitcher_ENG_Ger_test.cab on device,
and go to Program, the excute Language Switcher.exe.
then select German <english is for recover to Original.
No English MUI in here.Only test to change German UI.
@@German_Registry folder.
This is the registries for your refference, what i have done.
No need import those, cabs in Temp have those already.
anyway, this is just testing for you.
I am plannning make it easier setp.
If mui are in ROM..i already compleate steps very easy.
@for your refference
following is Config of Switcher which will copy to windows automaticaly.
and containts of each CAB
-------------------------------------------------------------------------------
;Remark
[English]
CAB: \TEMP\ENG_mui.cab --change the MUI value and Location
CAB: \TEMP\\ENG_Today_113.cab ---Chnage the Today Meny key
CAB: \TEMP\CPL_ENG.cab ---Change OEM Control pane name
CAB: \TEMP\ENG_Notifi_COM_BT.cab ---chnage the Pop up Notificatin
RST: Reset
[German]
CAB: \TEMP\Ger_Notifi_COM_BT.cab
CAB: \TEMP\Universal_Ger_130_all_noShell.cab --mui value and mui/help
CAB: \TEMP\Ger_Today_113.cab
CAB: \TEMP\Ger_mui.cab
RST: Reset
-------------------------------------------------------------------------
i also attached regstry files i used in the cab,
this is the sample,,,if try to change more Regstry, it will be perfect.
But now only those for test.
@to kill the resource in Shellres.dll.xxxx.mui,which need Localized Shell folder
PLS delete following Strings Table from Shellres.dll.xxx.mui.
<in my cab, already killed>
Strings Table
343
551
552
553
@To kill the resource in Officeres.dllxxxx.mui to specify the Localized
Documents folders such like "Personal" "Business"
Delete following Strings Table from Officeres.dll.xxxx.mui
Strings Table
466
796
844
941
i am still working for this! dont care nobay interesting in this!!
now i got idea to install cab with Languages mui and registry from Storage card(SD), :lol: :lol:
at the same time,,,,previouse Locallized languages MUI will be deleted from windows file
on RAM.
this should not be wasted presiouce RAM Space,,,
only One addtional set of MUI and Hlp files are on RAM.
<but MUI and Help files on the RAM which is the originla Language of OS
, it can not delete>
-----------------------------------------------------------------
@To enable the Pass of Directry of "Storage Card" by Autconfig.txt,
Rename "Storage Card" to "Storage_Card".
this also make change with CAB file automaticaly....
To be change automaticly,,you write this cab name on
Atutoconfig.txt
Rename the Storage Card following registry:
REGEDIT4
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Folder"="Storage_Card"
"Name"="SD Memory Card"
-----------------------------------------------------------------
@to delete Previouse intsall mui and help files when you change language
again,
Write following Registry in to the CAB file for each MUI set.
System misunderstand and detect "about to install same Application in system".
and uninstall Previouse one automaticaly in Back Ground.
this is leraned from HTCs CAB, name of Softwoare can be as yours!
REGEDIT4
[HKEY_CURRENT_USER\Software\Asukal\Dark]
"Ver"="1.0"
-------------------------------------------------------------------
@So,, to read MUI cab from Storage_Card,, write like following on Autoconfig.ext\
[German]
CAB: \Extended_ROM2\Ger_Today_113.cab
CAB: \Extended_ROM2\CPL_Ger.cab
CAB: \Extended_ROM2\Ger_Notifi_COM_BT.cab
CAB: \Extended_ROM2\GER_SMS.cab
CAB: \Storage_Card\Uni_130_GER_mui_Tool.cab
RST: Reset
[Italy]
CAB: \Extended_ROM2\ITA_MUI.cab
CAB: \Extended_ROM2\ITA_Today_113.cab
CAB: \Extended_ROM2\CPL_ITA.cab
CAB: \Storage_Card\Uni_130_ITA_mui_Tool.cab
RST: Reset
---------------------------------------------------------------------
Now itested 2 languages from SD card,,,German and Italy,,,also Base Language English come with ROM.
and got work!
This systme is not organized and so it seems so complicate,
But i will make this organize and very simple system soon! 8)
PLS looking forward to me!
i can not write programs and dont know C+ or some,
so i am useing this way,,,
I'm watching with interest and appreciate what you are doing.
Apparently it seems that you are only working on languages with left to right.
I'd be more interested if somehow you could make the hardware keyboard work with arabic
W-Zero 3
So... If I am right with your outility now I can buy for example the W-Zero 3 of Sharp in Japanese languaje and use it in inglish or spanish? or just for universal??
thanks guys,,,glad to hear from you!
@ady
Arabian; i am quite stranger of that,,,and no idea,
if you have interesting in that, hope you can do the parts of Arabian.
And now i dont touch any drivers aslso dorivers in registry.
Just change the inter face Language and keep system to be original english.
@JeromeMorrow
now i making resources of Languages for Universal,
And some Original Appli & Setting Menu in Zero3 is not here,
Of cource you make their MUI in English, it will be possible.
But as i told above, still system will keep as default,
so
you must make Shell Folders in English or your language.
Example;;;;;
"Start Menu" and "Program Menu",,,On Zero3 it was Japanese one now,
Key board and SIP is just keep default,
i also not work for ths SIP at this moment.
(To adaptation of SIP from another language,, my long terms work, since
ppc2002 age. but still can not)
and,,,,,Zero3 has no GSM function,,may be you know,,
just has a PHS Phone System just uniqe system in japan.
You can not call in GPRS world with this
Initial version of UI Language Switcher is here to try
Now i am proud to intruduce,,,i made it!
My UI Language Switcher <non Asian> is here to you!
<SD Card installation Version Release1.00>
------------------------
*Supported OS and Device
------------------------
Universal Qtek 1.30 ROM version or compatible OS rom.
Use on English device, i didnt test on other Language OS.
But ON the Universal with DIY Japanese OS was worked
*Languages you can select
@WWE English as Original OS device
@German
@French
@Italy
-------------------------
*What can you get from this
------------------------
@You can switch UI Language from any to any languagese as your want & when you want to.
You can access to programs which you installed before and after switch
UI languages.
@All interface and very very most of registries can be localized to above languages.
i can not say all registries,,,,,,it will be very very hard work if i will do it.
But only very miner parts of registries are not changed to your languages.
you have very few chance to find and see "Not Localized Menu or Dialog."
@Help files and Template also change language.
But Shell Folders, and names of Sortcuts of Programs are English
and Templates folders also.
you can share to use amoung any UI languages.
Localized Office Templates documents are in the Template folder
@Each Languagse sources are using 1.3MB or some.
When you swithced to other languages,,,previouse sources will be deleted
and keep this size of usage.
------------------------
*Usage <how to>
------------------------
1; DL the archive here. named "UI_Switch_TEST.rar"
ftp://[email protected]/Universal/UI_Switch_TEST.rar
<5.5MB total for 4 languages>
2:Extract archive and find follwing cab and folders,
which contain Localiaze Sources
@CAB = Language_Switcher.cab
@ReadME.txt
@folder Sub-Folders--<files>
"Asukal_Tool"_______
|
|______"0409" ---<English Resource CABs>
|
|______"0407" ---<German Resource CABs>
|
|______"040c" ---<French Resource CABs>
|
|______"0410" ---<Italian Resource CABs>
|
|______"Dark" ----<Cert / Rapi / Security OFF>
at the
***********Step**********************************
@Place the "Asukal_Tool" folder on to SD card all with subfolders above
@Tap the "Language Switcher.cab" and procceed intallation.
@Make soft rest
<Remane Storage Card to Strage_Card automaticaly>
@Go Start Menu---Programs and find "UI Language Selector" icon and tap that.
@Only 1st time you use this, select "Initialize to Active" from list,
Installation is procceeding on back ground, then windows will be closed,
---3 cabs in Subfolder "Dark" are used in this step
@Open UI Language Selector again, then select language you disire.
@Just wait till it say <Need Reset?>, just wait.
Tap "Yes" and deveice will reboot itself.
@Now you can boot with your favorite language,
*************************************************
This system can only switch the UI Languages,
not change the OS system or OS Kernel languages,
So SIP <INPUT SYUTEM> is still keep original one,
even you switched to another languages.
Also Keyboard rayout is keeping original, not changed,
now still on my trial,,,, may be it will be better soon!
PLS try and test.
Asukaly yours!
possiblity of unkown problems there
PLS try as your own risk.
This system on other device like a Zero3
JeromeMorrow>>>
i tested this one on Zero3
it works to only the OS parts,
i meant OEM applications and the other Zero3's unique parts can not
change language.
To change the language in OEM application,i must make it english or other languge version,
also shell folder is missing
(you can conect PC and make new folders, or rename the Japanese Shell folders to english one, like "Start Menu" "Programs" "Settings". it easy to spve)
Any way, the step and way is the same. just need modify a little.
But we can use this way to onother HTC device also.
See capture
Hi ! I have istalled it liek you described, but it wont work for me. My Memory Card is´t renamed - perhaps this will cause the problem ?
What could i do?
Thx a lot!!
Florian
storage must be renamed, other wize, lanuage switch ant read from SD.
did you make soft reset after install Language Switch?
Softrest makes effectt raname Storage Card.
Yes, i made many softresets ;-), but my card isnt renamed´yet. I will try to reinstall it.
if still can not rename,
pls import following registry and softrest.
it msut be work
REGEDIT4
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
"Folder"="Storage_Card"
"Name"="SD Memory Card"
Thx a lot!
Hi all,
I am newbie to this forum. I got a O2xda neo mobile recently.
Rom Version: 2.9.4.30 GER
CPU: OMAP850.
OS: WM 5.0
I would like to change the language pack from German to English.
After reading this thread i felt Asukal solution might work for me. Please correct if i am wrong.
Can some one or Admin please give me the rights to download (ftp://[email protected]/Universal/UI_Switch_TEST.rar) this file.
Many thanks in Advance.
Cheers
Jai
hi!
i made this test system to use on the English device.
so currentry,,,english resources will be used from in OS rom,
Thus means resources for english are not enough in this files.
i dont think this will work on another Language OS, and nor another deved,,,just for for the Universal.
But if you want to try,,do not mind,pls do.
i tried on japanese device and work some of them.
But u must make Shell folders in english name before use this..
Other wise you can not access any programs or setings.
You can dl after you register as a use in this forum.

HELP Translating Apps Tutorial

I've seen that many apps comes with AppName.0409.mui installed in the same folder of the app, usually \Windows.
For who don't have an english OS, usually miss app dialog box string.
I've seen that if u want to have back dialog box string u have to make a copy of AppName.0409.mui and reneme it into AppName.xxxx.mui where xxxx is your contry code (for me, italian, 0410).
But how to have dialog box string in native language?
I've tried with a recent app extracted from touch dual (Action Screen) which have a mui file with only one string. I've used Resource Hack, changed the string, compiled and saved. But... nothing.
In second instance i've changed not only the string but also the language code, compiled, saved and...
So can someone who is skilled make a tutorial for changing app strings?
Sorry for my bad english and thanks in advance for reply.
P.S.: i've read this http://forum.xda-developers.com/showthread.php?t=311078 and also this http://forum.xda-developers.com/showthread.php?t=307968 but talking about rom, not apps...
I do it like this:
1. Copy the program's executable file to pc.
2. Open the exe with Resource Tuner. I delete all other folders exept Menu, Dialog and String(in these are all the strings for translation) and save the file.
3. Then I open it with resource hacker and push action -> save all recources
4. I open the generated rc file with notepad and replace all the:
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US(or maybe this is another language)
lines to:
LANGUAGE LANG_GREEK, 0x1 (this is for greek language)
and save the file.
5. After that I open the rc file again, but now with resource builder and I push tools -> Create resource-only dll and I save the file as name_of_file.exe.0408.mui(for greek).
6. Finally I open this file with resource hacker and I translate it
I used to do it in this way cause I have all these three progrs(resource hacker, resource tuner and resource builder)
Maybe there are other progs or ways but this works fine for me until now. If someone knows easier and faster methods I also want to know.
First, thanks for reply.
I was trying to make an easier thing... but maybe i can try this way for my scope.
I've installed HTC Action Screen, you can found it at: http://forum.xda-developers.com/showthread.php?t=336587
It's a cool launcher, nothing more. After installation i can find in \Windows folder two files:
HTCActionScreen.exe
HTCActionScreen.exe.0409.mui
Well in the mui there's only one string that is the top of the launcher screen, that i don't see. I've renamed 0409 into 0410 and now i see the string, the original one in english (some like that "Dial phone number or select a task below:").
I'd like to change in italian, so, i've used resource hacker ONLY for translate the string (as in your 6.) but... i don't see anything once again!!!
Any suggestion?
Have i to start from exe as in your reply?
Thanks again.
This is happens because you cannot change the LANGUAGE line with resource hacker. For this I save the resources in a rc file and adit it with notepad. I had similar problems with some muis that cannot translated before use the method that I described above. You only need resource builder to recompile the rc file to mui again. I don't now in what must change the Language line for Italian, but I think you can find out if you open an italian mui file.
So, i describe my step:
1) open HTCActionScreen.exe.0409.mui with Resource Hacker and and push action -> save all recources
2) open the .rc just created with notepad and changed LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US into LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN
3) open this .rc with resource builder and push tools -> Create resource-only dll and I save the file as HTCActionScreen.exe.0410.mui
4) open this file with resource hacker and translate it
it doesn't work
Where's my fault?
Maybe have i to sign the file?

Help.Modify ROM Language questions...THX

Hi.all,i am a Chinese boy and my English so weak..
I have a SP called Lobster 700 and It's WM5 Eng AKU2.6,
I m not cook rom to my lob and I want to translate my lob to Chinese, so i want to add mui files to translate it to Chinese.
now i have some questions.
1.i have added 0804(China) mui setting to reg,and i copy some 0804.mui to my lob (not including some system core mui , like shellres and so on),and now lots of program like WMP IE is Chinese.
But the MMS program (Arcsoft MMS in system) can not be translate always,i have put ArcMMS.dll.0804.mui in windows ,but when i start MMS it's always English, i use Celetask(a Taskmanager) look tmail.exe info, it shows tmail.exe calls ArcMMS.dll.0409.mui but not ArcMMS.dll.0804.mui. why? ALL Other program call 0804.mui correctly
2.We know startmenu, it shows program name, usually , the name should be same as the lnk files in \\windows\startmenu\,but i found some program name not like that. It's differents to the lnk file, how does it work?? or how to change the name shows in startmenu but not change the lnk file name??
3.In our China forums some body have make a CAB file to localization the system, but all this shows a same BUG, the connections in settings can not be open. i don't konw the problem come from where ...or a file ? reg ?

WM6.1 mxip_lang.vol and wince.nls

Hi, i´m translating WM6.1 to Spanish, and to get full translation i have read there´s needed to get mxip_lang.vol and wince.nls spanish version.
For WM6 it can be dumped from Emulator Image, but there´s no image for WM6.1 still. Will work the WM6 files for WM6.1?, can i edit this files to translate them with any tool?
There are another files within the .mui´s and registry i have to edit to get a full translation?.
Thanks.
up... nobody knows nothing about those files or how to translate Start Button in a WM6.1 ROM?
I have translate the initflashfiles.dat and the necesary registry keys, but when my ROM boot it hang up at last boot screen and shows only the upper program bar. why?
Thanks
you was forget to add what device you try to translate
if you don't have SDK wm 6.1, the best way is take language from other device
lazaj007 said:
you was forget to add what device you try to translate
if you don't have SDK wm 6.1, the best way is take language from other device
Click to expand...
Click to collapse
I´m trying to translate WM6.1 for Trinity, the mui´s is not a problem, i got it´s from others devices ROMs, but the problems comes when i translate programs files and startup folders in initflashfiles.dat.
Thanks.
With Sktools you can export metabases mxip_lang.vol into .xml files . Also AKtools has import function. But I don't understand how it is work. I tried insert some new rows in metabase but sktools say: 0 records imported. May be anybody know how to import new record in metabase with sktools? Please, help me!
I successfully translate mxip_lang.vol !!! I used Sktools for dump this file. After that I translated all english records in to russian ( text file in unicode format). Then I have put DevPrepSP.exe utility ( with its configuration .xml file) and my .txt file in \Storage\MUI\ folder on my Qtek8310. I have started the DevPrepSP.exe and have added records in to mxip_lang.vol. It has worked!!!
My txt file has such format of records:
\MetabaseLabels
0#19#1;1049#31#Размер сист. шрифта:;
0#19#2;1049#31#Время нажатия:;
0#19#3;1049#31#Макет начального экрана:;
.................................................. ... ;
Where to find that
olad said:
I successfully translate mxip_lang.vol !!! I used Sktools for dump this file. After that I translated all english records in to russian ( text file in unicode format). Then I have put DevPrepSP.exe utility ( with its configuration .xml file) and my .txt file in \Storage\MUI\ folder on my Qtek8310. I have started the DevPrepSP.exe and have added records in to mxip_lang.vol. It has worked!!!
My txt file has such format of records:
\MetabaseLabels
0#19#1;1049#31#Размер сист. шрифта:;
0#19#2;1049#31#Время нажатия:;
0#19#3;1049#31#Макет начального экрана:;
.................................................. ... ;
Click to expand...
Click to collapse
Hi there,
Where I can find Sktools?
With my regards,

[REF] ROM translate discussion room

Hi everybody out there!!!
I decide to start this thread, because many of us have same problems when try to translate a rom.
To start with something here is a basic procedure in translation:
- You have to change the MUI dll for one of your lenguage. I use a stock rom as base.
- Have to change the Initflashfiles.txt. Many "cookers" said to delete the first two bytes and save, other are not completly accord with that. I try both ways.
- Have to change the MUI and NUI values in registry
- Have to change the welcome.exe by the one in your base rom.
With this you can obtain a translated rom, but with no menor problems:
- Contacts doesn't open
- Phone doesn't open
- Many times the commanager doesn't work
Clearly I miss something (probably many things)
Hopping that the "Translators" of the forum can give us some advices or directions
Great initiative Humrod.
I'm hoping too that some Guru may help us.
Anyway i'm reserving this post as a memo of every steps i had to do to translate my current WWE ROM to a FR ROM.
Edit 30 Nov 2008
Here is the exact steps i use to translate the 3.07.707.02 Elfin WWE ROM to French.
I've use 3 Rom to achieve this goal
3.07.707.02 Elfin WWE (this is my base)
an Elfin French rom
a French shipped Diamond rom (from where i've taken the mui)
Ok, so hand on :
Extract the 3 ROMs
Remove all OEM\*0409 folder from 3.07.707.02
Remove all SYS\*0409 folder from 3.07.707.02
Copy the folder OEM_Lang_040C from any elfin french rom to the destination rom (you could also translate manually the rgu and provxml contained in the OEM_Lang_0409 folder).
Copy at least SYS\*040C folders to the 3.07.707.02 rom.
Cook, reboot! and voila your translated rom is ready.
Humrod, by following those steps you won't need to replace any programs or anything else... it's just working.
Good initiative Although I dont see this discussion device specific, so moving it to dev & hacking
ababrekar said:
Good initiative Although I dont see this discussion device specific, so moving it to dev & hacking
Click to expand...
Click to collapse
great Humrod! i think thid thread is gonna be very helpfull for all of us that have been discovering how to cook in other languajes than WWE with the metod of test and failure... maybe these thread even could have a link in the cooking class...
actually, i have made my custom room, ultra fast, but i've been trying to translate it into 0C0A, have everyhing done bt it doesn't boot...
@Ababreaker: im pretty sure humrod meant these thread for his elfin...
Very nice thread. A more detailed tutorial about the procedure will be nice too.
As for the apps that don't work, I beleive that the reason is the incompatible mui files from wm6 to wm6.1. I didn't have problems with any application in wm6, but in wm6.1 some apps like phone, messaging, task manager doesn't work. For phone app I descover that the tapres.dll mui file is responsible, and for messages I think that is the mms..something(I don't remember the name). And for others I think that is the shellres.dll mui file that does the main programs translations. So I think that these three, at least files(and maybe more) needed to translated again for wm6.1.
Hope these info will be helpful for you.
Yeah! dancer69 i think so that there are diferences between wm6 and wm 6.1
in fact one of the first thing i did was translate the MUI files. After tedious work it was not inoff. You have to change the soo too. The problem is when you want to upgrade the system.
Right know i think the right way could be to elect and share one rom to work togheter. I have a very clean Onix, very clean AB UC DXS 14.1 and for spanish speakers the Hto Ultra clean 6.1
BTW: I post it on Elfin because think is not the same on other devices, and we need to share comments with elfin translators.
First of all sorry for my english, i hope everybody can understandme....
Ok, i think it would be good to start with a little basics ("procedure") of translating the rom... off course modifications/corrections are welcome...
I think the tools we need are these:
- A good resource editor, i've try some of them, and IMHO, these are the best: XN Explorer (Freeware), and PE Explorer (Paid, 30 days trial)
- MSigner in order to sign the translated muis or anything
- Initflashfiles editor or simply use a text editor which doesn´t add the (un)famous two bytes to the files and change the .dat for .txt
- HV editor (This tool adds the double-slashes for directories in registry)
The last two tools often are part of kitchens, as Hyper Core (the one I use) or the Hybrid Kitchen
Ok, those tools are the ones that I´ve been using, if somebody wants to add more, well welcome...
I won´t go deep in the fact that you need to dump the ROM and get it into Packages... how this is made?, in this forum there are several threads about that, I recommend you this for excellence...
Once you´ve got the packages, notice that there are folders that have some of the following four caracters, depending on the original ROM language:
Code:
0401 Arabic ARA.MUI
0402 Bulgarian BG.MUI
041a Croatian HR.MUI
0405 Czech CS.MUI
0406 Danish da.MUI
0413 Dutch (Standard) NL.MUI
0425 Estonian ET.MUI
040b Finnish FI.MUI
040c French (Standard) FR.MUI
0407 German GER.MUI
0408 Greek EL.MUI
0409 World Wide English (WWE).MUI
040d Hebrew HEB.MUI
040e Hungarian hu.MUI
0410 Italian IT.MUI
0411 Japanese JPN.MUI
0412 Korean KOR.MUI
0426 Latvian LV.MUI
0427 Lithuanian LT.MUI
0414 Norwegian no.MUI
0415 Polish pl.MUI
0416 Portuguese (Brazil) Br.MUI
0816 Portuguese (Standard) PT.MUI
0418 Romanian RO.MUI
0419 Russian RU.MUI
0804 Simplified Chinese CHS.MUI
0c0a Spanish (Modern Sort) ES.MUI
041b Slovak SK.MUI
0424 Slovenian SL.MUI
041d Swedish SV.MUI
041e Thai TH.MUI
0404 Traditional Chinese CHH.MUI
041f Turkish TR.MUI
and more....
- Yes, you must rename those language codes of the folder name, with the one you want to translate the ROM into. And inside of those folders, there will be some files with extension .mui (I´m assuming you know what these MUIS are, if not: Wikipedia). These files have the language code in their name, and yes, you must replace (NOT RENAME) them with the correspondent in your language but... Where you get them? you can translate them one by one , or you can get them one by one from a dumped ROM in your language ... or just download them from this thread, fortunately they post all the needed MUIs and help html´s of several languages, so you can get it from there.
- Once you've collect them, all you have to do (an this is the tedious part), is look every folder of the "target" ROM and find in which folder goes each mui and place them there...
There will always be some mui or dll that you can´t find in your language, so the only alternative is to translate it yourself:
- Open the resource editor of your choice (links above), find the MUI and translate everything you see that can be translated... Save it (dah!)
- You must Sign the file or it won´t work at all...whit Msigner (link above) you can do that.
- That´s all with the translation thing...
I think this post is too big, so i´ll continue in the next
- Now, you have to modify a file named initflashfiles.dat (look for it in folder OEM_Lang_XXXX inside SYS), This initflashfiles.dat contains and creates all the addresses to all the folders that exist in the ROM. Just use the Initflashfiles Editor (links above) and follow the instructions.... You must carefully translate what you need to translate (like My Documents, My Music, Program Files, etc. I recommend you not to translate folders like Application data, or System, or some folders inside Windows...) It is very important to remember or write down what changes you´ve made, because you will need them in order to modify the registry... Follow the instructions of the Initflashfiles Editor or the Editor of your preferred Kitchen. Return it to SYS/OEM_Lang_XXXX
- The next thing to do is modify the registry....there are several parts of the registry in different places of the ROM folders, there are three types of files we´ll modify: user.hv and default.hv, all of the .rgu inside any folder and all of the .provxml inside any folder.
- Default.hv and User.hv: these are the main parts of the registry, you can find them inside the folder SYS/Metadata. Modify them with HV Editor (links above) and follow instructions, remember to save in Unicode and add the word REGISTRY4 at the beginning of the file and a blank line at the end (just follow the instructions of the Editor). What you need to change is all reference to all the folders with the information that you already change in initflashfile.dat, and many other information you see you can translate.
Use the find tool to find all reference to the "Original ROM Language Code", and replace it with the "Target ROM Language Code", don´t do "Replace all" because there are CLASS´s or strings that can contain those numbers and have nothing to do whit language.... (THIS GOES TO .HV, .RGU AND .PROVXML). Look especially for:
Code:
[HKEY_LOCAL_MACHINE\MUI]
"Enable"="1"
"SysLang"="0409" (for example, you don´t have to use necessary 0409 English...)
[HKEY_LOCAL_MACHINE\System\Autoupdate]
"ClientLCID"="0409"
[HKEY_LOCAL_MACHINE\nls]
"SystemLCID"="0409"
"DefaultLCID"="0409" (Tip: This entry modifies the "Regional Setting" country of your choice see [URL="http://msdn.microsoft.com/en-us/library/ms834426.aspx#locplatform30_codepages"]here[/URL] for detail)
[HKEY_LOCAL_MACHINE\nls\overrides]
"LCID"="0409" (Tip: This entry modifies the "Regional Setting" country of your choice)
[HKEY_CURRENT_USER\MUI]
"CurLang"="0409"
I can´t tell you what exactly to change or translate, because you´ll see how big the registry is (yes, it will take a long time to edit it), all i can is give you some tips:
- Find strings like @="Something", usually these are Titles or Names, or strings like Nm="blahblah", BUT NOT ALWAYS, be carefull...
- Find descriptions, like "Audio File" or "Google Maps KMZ", BUT NOT ALWAYS, be carefull...
- References to folders (did you write down the changes you made in initflashfiles.dat? i told you to...), be sure that all references to folders have double backslashes (\\) like ...="\\Windows\\animated.gif"
- Do not change nothing if you´re not sure, better ask before re-do everything again.
Once you modified those hv´s, follow the instructions to save them, and return them to SYS/Metadata.
- .rgu files: you´ll find them in almost every folder in the Packages! In OEM and SYS, but not all of them contains things you can translate, you must open each one whit Notepad, DEACTIVATE "Word Wrap", and look carefully, in many cases, strings you already translated in the hives (default and user.hv), need to be translated here again. I don´t recommend you to just to erase them from the hives or the rgu, at least you´re pretty sure what you´re doing.... Follow the tips of the hives as well.... And when you´re done, SAVE AS UNICODE (generally these files are protected, so you must modify this attribute before you can save it).
- .provxml: these are just XML files, and usually have the language code in the name change it. You can edit it with notepad, and save as UNICODE. Same as above....But!... is not necessary to add double backslash in the folder references...
Ok, that´s it but not all... you need to change some files like welcome.exe, notes.exe and others that can come out dependig on what you´re including in your ROM...that´s the reason of this thread!!
Well, i hope this would be usefull people.
Remember, any correction/suggestion/modification are very welcome....
Happy cooking!!
Thanks jonbus for this tutorial... some very valuable tips, i'm sure lot of people will appreciate.
Anyway, jonbus don't you have to make others modifications like CLSID in registry too?
In my current WWE to French rom translation, i'm facing a strange situation where some programs do not work note.exe, phone (cprog.exe) and contacts but the rest of the ROM is fully functionnal...
EDIT :
Ok you've edited so i'll edit too
For the French translation :
There is no need to change welcome.Exe
You must change note.exe
Don't know what to do for the phone to work
Don't know what to do for the contacts to work
Demo[95] said:
Thanks jonbus for this tutorial... some very valuable tips, i'm sure lot of people will appreciate.
Anyway, jonbus don't you have to make others modifications like CLSID in registry too?
In my current WWE to French rom translation, i'm facing a strange situation where some programs do not work note.exe, phone (cprog.exe) and contacts but the rest of the ROM is fully functionnal...
EDIT :
Ok you've edited so i'll edit too
For the French translation :
There is no need to change welcome.Exe
You must change note.exe
Don't know what to do for the phone to work
Don't know what to do for the contacts to work
Click to expand...
Click to collapse
Yes off course! in CLSID you will find references to folders (CSLID are identifiers, so they must refer to some archive in some moment..) as I said, it´s a tedious thing to modify registry, is waaay to big...you have to be extra-careful and have your eyes wide open 8)
About those files...yes that strange, changing welcome.exe and notes does not work in all ROM, dunno why...anyway, you can check it with a resource editor to see whats inside it, just for curiosity...
For phone and contacts, have you try to replace tapres.dll? because not always we can find their respective mui file (tapres.dll.xxxx.mui)... or try to find the mui....
Good luck!!
Hola jonbus, good tutorial!!
we can talk in Spa, but for the others in forum, you know
I'm not sure about the chage of the MUI files. I made some experiments and after change, the lenguage is still english (in my case). When i cook in prophet, this works perfect, but in Elfin......so so.
Ok. I'm in the same situaction of Demo95: I have a full working translated rom but for the phone and contacts. I resolve the phone issue, by change not either the phone related files, but the com manager too, but for me this solution is not too good, because the result is a rom partially actualized.
As first conclusion is evident that some in the system related for this files is imcompatible with the lenguage in change and I'm focused now in the Xip.
In case of some results i will post it here.
I think that the problem is the specific mui files, that maybe are for a different version of these applications. I don't know much about cooking but I have more experience in mui translations. I suggest to make a translation of these mui files(maybe a part of them just for testing) from the original english rom's files and copy them to device to test them on the fly.
Don't forget to unsign and resign them before use them(and be sure that the signing is successful). For phone application I've found that the mui is the tapres, witch I think it haven't a lot of strings for translation.
the way I do it is like this..
I download a shiped rom in the language any device will do. Then I dump that rom and then just use all the folder that end with _0XXX (_040C is french) copy them to my rom. now most of the things will work out of the box.
now you will mostly only have to work within the OEM_Lang_0XXX because thats where the most customacation of the device is done. Initflashfile.dat and the .rgu are what would be needed some changes but in many cases Initflashfile will work without editing. the rgu has the button mapping.
also there is a oemTranslate.xml or HTCtransulate.xml (might be spelled wrong don't have a kitchen here) this one translates the backlight deviceinfo and such into the right language. ther might be some missing or some to many in there if you used a shiped rom for an other divices.. and can cause a blank icon in settings/system.
What I did with my multilanguage roms.. I copied all the lang files into the same kitchen and made Option.xml files for all of them.
excample:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="French" group="Language" checked="False">
<Tip></Tip>
<Guid type="p">76129d77-24e3-493f-b0fb-597ed4c04c6d</Guid>
</Item>
</Items>
you need to add a Guid type line with the number of all dsm files that are related for that language in this case french. now make a new txt document and save it as unicode and name it package.dsm you can do this to as many languages you like.
place the Option.xml and package.dsm file in a folder for them self one for each language.
this methot can also be used when making several roms lets say Full, medium and small.
I used the offical kaiser roms to make the multiroms but they don't work on some of the newer builds where I had to use language files from diamond.
hope this will help someone
humrod said:
Hola jonbus, good tutorial!!
we can talk in Spa, but for the others in forum, you know
I'm not sure about the chage of the MUI files. I made some experiments and after change, the lenguage is still english (in my case). When i cook in prophet, this works perfect, but in Elfin......so so.
Ok. I'm in the same situaction of Demo95: I have a full working translated rom but for the phone and contacts. I resolve the phone issue, by change not either the phone related files, but the com manager too, but for me this solution is not too good, because the result is a rom partially actualized.
As first conclusion is evident that some in the system related for this files is imcompatible with the lenguage in change and I'm focused now in the Xip.
In case of some results i will post it here.
Click to expand...
Click to collapse
Claro Humrod!
I agree with you about a ROM partially actualized, but, that´s the reason , i presume, for the malfunction or incompatibility of the MUIs, probably the are several differences betwen an update and another...
dancer_69 said:
I think that the problem is the specific mui files, that maybe are for a different version of these applications. I don't know much about cooking but I have more experience in mui translations. I suggest to make a translation of these mui files(maybe a part of them just for testing) from the original english rom's files and copy them to device to test them on the fly.
Don't forget to unsign and resign them before use them(and be sure that the signing is successful). For phone application I've found that the mui is the tapres, witch I think it haven't a lot of strings for translation.
Click to expand...
Click to collapse
Well, as i told yu, the tapres did the job! Yes that´s what we must do, translate the muis that are giving problem...
gullum said:
the way I do it is like this..
I download a shiped rom in the language any device will do. Then I dump that rom and then just use all the folder that end with _0XXX (_040C is french) copy them to my rom. now most of the things will work out of the box.
now you will mostly only have to work within the OEM_Lang_0XXX because thats where the most customacation of the device is done. Initflashfile.dat and the .rgu are what would be needed some changes but in many cases Initflashfile will work without editing. the rgu has the button mapping.
also there is a oemTranslate.xml or HTCtransulate.xml (might be spelled wrong don't have a kitchen here) this one translates the backlight deviceinfo and such into the right language. ther might be some missing or some to many in there if you used a shiped rom for an other divices.. and can cause a blank icon in settings/system.
What I did with my multilanguage roms.. I copied all the lang files into the same kitchen and made Option.xml files for all of them.
excample:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Items>
<Item name="French" group="Language" checked="False">
<Tip></Tip>
<Guid type="p">76129d77-24e3-493f-b0fb-597ed4c04c6d</Guid>
</Item>
</Items>
you need to add a Guid type line with the number of all dsm files that are related for that language in this case french. now make a new txt document and save it as unicode and name it package.dsm you can do this to as many languages you like.
place the Option.xml and package.dsm file in a folder for them self one for each language.
this methot can also be used when making several roms lets say Full, medium and small.
I used the offical kaiser roms to make the multiroms but they don't work on some of the newer builds where I had to use language files from diamond.
hope this will help someone
Click to expand...
Click to collapse
I´ve made that in a couple of rom i cooked, i leave two or three folders OEM_LANG and so, but obviusly it was a big rom....and not only those folders need to be changed, inside every OEM package sometimes you can find some language files, not only Muis, but dlls and exes, just like the case of welcome.exe (tapres.dll has its own Mui), and, not always you can find an oficial rom in your language, and if you use two different updates of diferent languages there´s not always compatibility, thats what happen with these 3.07 and 3.10...
I´ve use two of your roms and they were awsome! specially the manila2d
Lets keep on it and see how to figure it out!
P.D.
In htc.com, we can find the update but you must type your device serial, i don´t know why mine doesn´t work, maybe there we can find the oficial update in our language....has somebody tried?
jonbus said:
In htc.com, we can find the update but you must type your device serial, i don´t know why mine doesn´t work, maybe there we can find the oficial update in our language....has somebody tried?
Click to expand...
Click to collapse
I've tried but it didn't work for me too... It's simply because HTC block phone serial that have been sold by a provider... I've tried to find the last originale rom on GOOGLE but without success..
Hi gullum, i'm follow your work since I was on a prophet, and learn a lot.
About your comment: you change the hole file or just the mui inside?
is possible to create a mui for a file that originally haven't?
seems that this tread is for our interest only.....
we can continue by PM...
Well it seems nobody care....
Anyway i guess i've finally found a way to completely translate from WWE to French; I haven't enought time to explain how i did it right now but will write it down tomorrow.
Ok sounds good, I'll be expecting
humrod said:
Hi gullum, i'm follow your work since I was on a prophet, and learn a lot.
About your comment: you change the hole file or just the mui inside?
is possible to create a mui for a file that originally haven't?
Click to expand...
Click to collapse
It's possible if the program supports mui translation. You can rename an exe or dll file to exe.0xxx.mui or dll.0xxx.mui and translate all strings in another language. I have done this with resco explorer 6 with succsess and some other apps that I don't remember the names.

Categories

Resources