Languages and Locales. - Hero, G2 Touch Android Development

Hi Devs,
Where are the language and locales stored in any rom? I cant seem to find any.
Thanks.

They are stored inside the apks, so you'll need apktool to decode them.

Cool thanks HomerSp. Will have a look at it.

u can explain it to me??
cuz im looking for a way to translate any rom to hungarian and i havent find anything (

Like HomerSp said you need to use the tool to extract the binary encoded xml's.
If you want to make an app support more languages you wil need to add Value values-NL (NL = Netherlands (Dutch)) into the apk itself. repack it up and good to go.

its sounds hard

szalay16 said:
its sounds hard
Click to expand...
Click to collapse
Not really, it's just tiring... The only thing you have to do is decompile an apk with "apktool d apkname.apk", in res/ folder create a folder "values-##" (## are the letters of your locale, i.e: es - Spain - ESpaƱa), copy "strings.xml" from /res/values/ to your folder, edit it and compile back with "apktool b /folder/path/". Then, you have your app translated in /folder/path/dist/something.apk.
That's it.
Of course, you'll need apktool, but it's really easy to get. It's explained in a thread in this page.

Related

WM2003 UGLY Phone Dialer Skin.. How to change??

Does anyone know how to change the skin that is on the phone dialer app for WM2003? I have an XDA I (wife's) and a MDA II, the default skin on 4.01 on the XDA I looks okay.. But that T-Mobile 1.60 upgrade OUCH.. Yucky Looking Pink and Green Skin. Someone please help me before my eyes burn out from looking at the dialer. :-D
Brandon
Look at http://www.yorch.net/
javar
software
It doesn't look like this software works with windows mobile 2003. has anyone tried it?
it does, just soft reset the device everytime you change the skin
How to change the phone skin manually
You can manually change the phone skin by overwriting the following files located on the \Windows folder of the Pocket PC Phone Edition device:
clg_dlrbtn.gif
clg_dlrbtnd.gif
clg_in.gif
clg_miss.gif
clg_out.gif
dlr.gif
dlrclr.gif
dlrclrd.gif
ending_dlrbtn.gif
end_dlrbtn.gif
end_dlrbtnd.gif
hld_dlrbtn.gif
hld_dlrbtnd.gif
snd_dlrbtn.gif
snd_dlrbtnd.gif
spd_dlrbtn.gif
spd_dlrbtnd.gif
spd_lst.gif
Just download a phone skin and copy the above files to your Pocket PC. Then reboot the Pocket PC to activate the new skin.
Re: How to change the phone skin manually
One additional piece of information: there is no .gif for a depressed number button. For unknown reasons, this image is stored as an icon resource inside a DLL.
I made DLLs with that icon for the "Candy Red" and the "Wood and Chrome" DesignLabs skins. These DLLs can be downloaded from http://www.tadzio.com/ppc/skins/TapResCandyRed.dll and http://www.tadzio.com/ppc/skins/TapResWoodAndChrome.dll , respectively. If you wan to create your own, take one of the above as a template, then edit it in a resource editor (VC++ works nicely).
To install such a DLL, copy it to the \Windows directory on your PPC, then change the registry key HKEY_CURRENT_USER\ControlPanel\Phone\IcoFil to the name of your DLL, and perform a soft reset.
Have fun!
Daniel
Software
It works... Lots of work, but it works!! Thanks for your help!
Re: How to change the phone skin manually
tadzio said:
One additional piece of information: there is no .gif for a depressed number button. For unknown reasons, this image is stored as an icon resource inside a DLL.
Have fun!
Daniel
Click to expand...
Click to collapse
Whoooa!!! :shock: this is something really new!, lots of people have tried to figure out how to change this state, and now we know, this is great, Although I'm not a programmer I will try to play around with that VC++ thanks a lot!
.wav ringtones
Hi,
anyone know any other good sites to be able to download wav ringtones ?
Steve
Re: How to change the phone skin manually
tadzio said:
One additional piece of information: there is no .gif for a depressed number button. For unknown reasons, this image is stored as an icon resource inside a DLL.
I made DLLs with that icon for the "Candy Red" and the "Wood and Chrome" DesignLabs skins. These DLLs can be downloaded from http://www.tadzio.com/ppc/skins/TapResCanedyRed.dll and http://www.tadzio.com/ppc/skins/TapResWoodAndChrome.dll, respectively. If you wan to create your own, take one of the above as a template, then edit it in a resource editor (VC++ works nicely).
To install such a DLL, copy it to the \Windows directory on your PPC, then change the registry key HKEY_CURRENT_USER\ControlPanel\Phone\IcoFil to the name of your DLL, and perform a soft reset.
Have fun!
Daniel
Click to expand...
Click to collapse
Those DLLs don't seem to be available anymore. Can you post one here?
Try higher up the URL: http://www.tadzio.com/ppc
Re: How to change the phone skin manually
adamz said:
Those DLLs don't seem to be available anymore. Can you post one here?
Click to expand...
Click to collapse
Oops - both links had typos in them. Sorry! I corrected them in my original post, and here they are again - guaranteed to be correct this time:
http://www.tadzio.com/ppc/skins/TapResCandyRed.dll
http://www.tadzio.com/ppc/skins/TapResWoodAndChrome.dll
Cheers
Daniel
how to edit?
how do u edit the dll files cant get into them! i am not programmer lol
help will be appericated
Re: how to edit?
S1MB4D said:
how do u edit the dll files cant get into them! i am not programmer lol
help will be appericated
Click to expand...
Click to collapse
use a resource editor .. heres the site so you can choose app ..
http://protools.reverse-engineering.net/utilities.htm
i suggest the Borland resource Workshop .. just dont know if it still there .. o compatible with winxpsp2
exescope is also great .. but a shareware
PS always make a backup of a dll .. sometimes .. resource editor causes the dll to be corrupted ..
help!
okay i am using the resource hacker but i cant change anything or edit the image! help!
there has to be an easier way!
Re: help!
S1MB4D said:
okay i am using the resource hacker but i cant change anything or edit the image! help!
there has to be an easier way!
Click to expand...
Click to collapse
hi S1MB4D ..
some of the resouce editor only replaces or added the bitmap or image file use in the dll or exe, and it doesnt entirely create nor edit the image.. like the Resource hacker by Angus Johnson
thats why im suggesting the Borland Resource Workshop since it has that capabilities .. but since www.inprise.com no longer exist .. you can only use a resource editor that has that limitation .. to edit the image u will have to use an image editor like the windows paint or adobe photoshop .. or if it is an icon then an icon editor .. then replace the one included in the dll .. using the resource editor ..
but if you want to edit only the icon in an exe or dll for example the tapres.dll like the one above you can use an icon editor that can extract and automatically replaces the icon included in the dll or exe like in this link ..
http://www.iconcool.com/icon-editor.htm

[NEW] Kaiser HTC Home v.2.0.720719 BW and Color

OEM supplied by Schaps. This version already integrated in his last ROM.
Not like previous version, this version Profile Tab already work correctly. No need to do anything. I have use it for several days and I dont notice any notifications queue issue or wild vibrate at all.
But I do change the following:
-Installation directory change to \HTCHome instead of \Windows
-To get Brightness shortcut working, the same patch as previous version applied.
-The same patch applied to enable the Tab Setting through registry.
Other than that Nothing. Much better version than v1.5
Color version uploaded!!!!
If you are ROMcooker, download the htchome.dll for rom cooker .
Install sdkcert.cab if you have not done so.
There are about 100 pages of discussion about v1.5. Lets not repeat what have been discussed over there like: Clicking left most mail icon will take you to MMS, how to change music tab tolaunch HTC Audio Manager, and so on and so on. I dont plan to follow up closely on these thread as I think this version is very good already. Should there be any fix, change, etc please refer to the respective post.
Enjoy
Is this better than the one you had released with your kaiser skin?
Currently i am using that, is it worth me updating?
Thanks
Bennec, the one you are using is v1.5.xxxx. Very earlier and uncomplete version that has been tweaked to make it reliable enough to be used. This version is a new build with the profile tab working and additional features in the contact tab thatenable you to select what number ina contact for the speed dial. Definately worthed.
Can you post a version where the files do go in the windows directory? I want to cook this in, but not have duplicates.
TooSharp said:
Can you post a version where the files do go in the windows directory? I want to cook this in, but not have duplicates.
Click to expand...
Click to collapse
you can, just use windiff on the SYS and OEM folders of your kitchen, the dump folder is created by processing these 2 folders, so any file dups will be in there BEFORE you run buildos.exe.
add you package, then run windiff ont he SYS and OEM folders, it will find the file duplicates, and delete the ones that ARE NOT from your new package!!
bennec83 said:
you can, just use windiff on the SYS and OEM folders of your kitchen, the dump folder is created by processing these 2 folders, so any file dups will be in there BEFORE you run buildos.exe.
add you package, then run windiff ont he SYS and OEM folders, it will find the file duplicates, and delete the ones that ARE NOT from your new package!!
Click to expand...
Click to collapse
Maybe I should have been more clear.
When creating a rom, all files will be placed in the windows directory, if you need files in a different directory like the cab posted above you will have to use initflashfiles which just copy the files to a new folder, then you will have duplicates. I just don't want 2megs of photos in two spots.
Garphical Anomolies
@schen you need to swap some of the icons for my fixed ones!!
please Download this Original Icons Fix and add it to you package. 2 of the black and white icons (Music and People) dont react properly when you select them.
that link fixes them!! (it is not just yours, it is a common problem with all htc home plugins!!!)
TooSharp said:
Maybe I should have been more clear.
When creating a rom, all files will be placed in the windows directory, if you need files in a different directory like the cab posted above you will have to use initflashfiles which just copy the files to a new folder, then you will have duplicates. I just don't want 2megs of photos in two spots.
Click to expand...
Click to collapse
Your question makes no sense then!
When you COOK this in obviously you would remove the version you already have in the ROM therefore you would not have the duplicates.
Also if you just created an package out of the cab above you will get NO initflashfiles therefore the package will install to the windows directory!!!
bennec83 said:
Your question makes no sense then!
When you COOK this in obviously you would remove the version you already have in the ROM therefore you would not have the duplicates.
Click to expand...
Click to collapse
You still don't understand. My problem is NOT buildos failures. I don't want duplicates when the rom is complete. Any time you use a initflashfile you will have duplicates in the finished rom. That is what they are for. Again the problem is not with duplicates in the OEM and SYS. If you go back and check my posts you will see I helped you with this exact problem. I know how to create a rom!!!! What I don't know how to do is edit the dll file to redirect it to look in the windows directory for the png files. Hence why I'm posting.
bennec83 said:
Also if you just created an package out of the cab above you will get NO initflashfiles therefore the package will install to the windows directory!!!
Click to expand...
Click to collapse
Yes you do get a initflashfile that copies all the png files to HTCHome. See attached.
schen, installed & everything working fine, except for one, am unable to use the hardware navigational pad when accessing music tab, from there u can't proceed to go up, go to ff, rw or play button.
Touchscreen function (for all of the above ff, rw & play tabs) in music tab is working though.
thanks anyway.
TooSharp said:
You still don't understand. My problem is NOT buildos failures. I don't want duplicates when the rom is complete. Any time you use a initflashfile you will have duplicates in the finished rom. That is what they are for. Again the problem is not with duplicates in the OEM and SYS. If you go back and check my posts you will see I helped you with this exact problem. I know how to create a rom!!!! What I don't know how to do is edit the dll file to redirect it to look in the windows directory for the png files. Hence why I'm posting.
Yes you do get a initflashfile that copies all the png files to HTCHome. See attached.
Click to expand...
Click to collapse
Funny, i created the package and i didnt get that!!!
il have to look into the flashfile generator in using (im not using the core one that you are!!)
Thanks for the heads up and apologies for the confusion!!!
bennec83 said:
Funny, i created the package and i didnt get that!!!
il have to look into the flashfile generator in using (im not using the core one that you are!!)
Thanks for the heads up and apologies for the confusion!!!
Click to expand...
Click to collapse
No problem. Thanks for the help. Sometimes it's hard to convey what you are thinking in words, especially about something so confusing.
TooSharp said:
No problem. Thanks for the help. Sometimes it's hard to convey what you are thinking in words, especially about something so confusing.
Click to expand...
Click to collapse
Well then my answer to your question would be to remove the initflashfile, then everything would get installed to the windows directory and since you have no need for shortcuts, this would be fine!!!
been using this for a while and saw the new version a while ago. has option of more when u go to the 4 day detail in weather. fonts seem nicer and all. looks like a good upgrade to 1.5 Bennec83 irc bro
schen said:
OEM supplied by Schaps. This version already integrated in his last ROM.
Not like previous version, this version Profile Tab already work correctly. No need to do anything. I have use it for several days and I dont notice any notifications queue issue or wild vibrate at all.
But I do change the following:
-Installation directory change to \HTCHome instead of \Windows
-To get Brightness shortcut working, the same patch as previous version applied.
-The same patch applied to enable the Tab Setting through registry.
Other than that Nothing. Much better version than v1.5
I will create a separate Cab based on Schaps color version as well in a minute after a few try this cab with no problem.
Enjoy
Click to expand...
Click to collapse
Thank you for the new version, and tab setting is essential. Thanks again!
bennec83 said:
Well then my answer to your question would be to remove the initflashfile, then everything would get installed to the windows directory and since you have no need for shortcuts, this would be fine!!!
Click to expand...
Click to collapse
Just tried that. It doesn't work without the png files in the HTCHome directory. I guess we can't have everything.
The special dll for installing n Windows directory uploaded. Use that dll.
On the subject of weather plugin.
I am not sure why is there a need for a pre-configured xml file. Anyway, you need a gui to choose the city. Why not have a gui where you could enter the data which is stored on xml file. I suppose rather than sending an entire xml line when communicating with xml service, build an xml file base on the data entered via gui.
As I understand it, the DLL was just edited using a hex editor as \HTCHome and \Windows has the same number of characters, it sounds like it wasn't a decompile thing or something like that.
I'm not at home at the mo so I can't check but if you load the DLL up into a hex editor (winhex?) then replace all the \HTCHome text with \Windows, you should be good to go.
This is just my uderstanding though of what I've read in the previous....saga
Smiffy.
schen said:
The special dll for installing n Windows directory uploaded. Use that dll.
Click to expand...
Click to collapse
Thanks for the fix!!

help make fonts for new manilla

can anybody here make this font for me http://www.dafont.com/hand-of-sean.font for the new manilla TF3D. cuz godzfont don't change every fonts in the TF3D. thanks in advance.
skinniebone said:
can anybody here make this font for me http://www.dafont.com/hand-of-sean.font for the new manilla TF3D. cuz godzfont don't change every fonts in the TF3D. thanks in advance.
Click to expand...
Click to collapse
you can do this yourself
all you need is the TTF file itself
for Manila V3, make two copies
rename one to HelveticaNeue LT 35 Thin.ttf
rename the other to HelveticaNeueOTS.ttf
copy to your device windows folder (overwriting existing)
other manila versions may need some other font name
check your \Windows folder for *.TTF
there should be two Helvetica related names those are the ones to replace
if any of this is confusing, use search and google
good luck
Sir.B said:
you can do this yourself
all you need is the TTF file itself
for Manila V3, make two copies
rename one to HelveticaNeue LT 35 Thin.ttf
rename the other to HelveticaNeueOTS.ttf
copy to your device windows folder (overwriting existing)
other manila versions need other font name
check your \Windows folder for *.TTF
there should be two Helvetica related names those are the ones to replace
if any of this is confusing, use search and google
good luck
Click to expand...
Click to collapse
im still a noob at this. can you tell me were i would find those files.
i don't want to be mean, but i did say ...
Sir.B said:
...
if any of this is confusing, use search and google
good luck
Click to expand...
Click to collapse
as you say you are a noob
maybe you should not do heavy modding until you are comfortable with the terms/prosedures provided here
then again maybe someone else will hold your hand the rest of the way
Sir.B said:
i don't want to be mean, but i did say ...
as you say you are a noob
maybe you should not do heavy modding until you are comfortable with the terms/prosedures provided here
then again maybe someone else will hold your hand the rest of the way
Click to expand...
Click to collapse
my bad didn't read that part. aight thanks for the info though.

I780 important please...

hi can someone help to finf jump adresses of bintonb0.txt to fill input.txt? i am preparing 12mb pp size rom. when i finish it i will release it.
thanks
View attachment i780bintonb0.zip
I'd made a tool to automate this. Attached here....i think ironeagle is using this to generate input.txt using this for his roms, so should work
cheers
dreamtheater39 said:
I'd made a tool to automate this. Attached here....i think ironeagle is using this to generate input.txt using this for his roms, so should work
cheers
Click to expand...
Click to collapse
woooow thanks bro i will use it now!!
editing registry
hi dreamtheather93;
my 12mb pp size untouched pdxbi1 rom is ready i will upload here soon.however i wanna learn how can i delete unnecesarry programs from rom like cnn or rss reader? how can i delete registry of these programs from rom? and last one, i knwo cab extractor and it produces everything when u extract cab file like nitflashfiles.txt, option.xml, .dsm and .rgu for the kitchen ROM. but how can i add these settings to rom? i know too much questions but i like rom cooking and i wanna learn it
once you've dumped your rom and segregated them into OEM/SYS folders, you'll see most of your packages in your OEM folder, sometimes some cooks put them into SYS folders too!
So, find the proggie, and just get rid of the whole folder with the app.
To edit registry, open the corresponding .rgu file in the folder in notepad and edit it.
I use PackageCreator2.7 by ervius to create packages, pretty nice and simple to use...search for it!
To build the OS/rom, I use PkgToolsBuildOS-5.3
I'm still stuck at a problem myself and i haven't found the time yet to get it working....
good luck m8, looking forward to your roms! cheers
dreamtheater39 said:
once you've dumped your rom and segregated them into OEM/SYS folders, you'll see most of your packages in your OEM folder, sometimes some cooks put them into SYS folders too!
So, find the proggie, and just get rid of the whole folder with the app.
To edit registry, open the corresponding .rgu file in the folder in notepad and edit it.
I use PackageCreator2.7 by ervius to create packages, pretty nice and simple to use...search for it!
To build the OS/rom, I use PkgToolsBuildOS-5.3
I'm still stuck at a problem myself and i haven't found the time yet to get it working....
good luck m8, looking forward to your roms! cheers
Click to expand...
Click to collapse
thanks a lot buddy i will try i hope i will manage to do it.if not at least i try my chance by the way how to segregate the rom into oem/sys? coz when i use efn's kitchen it only dumps the rom.also i tried i900 kitchen and when i segregate the rom i found some dsm. missing files. is these dsm file important?
use PkgToolsBuildOS-5.3 Package_Tools tab to do this...
dreamtheater39 said:
use PkgToolsBuildOS-5.3 Package_Tools tab to do this...
Click to expand...
Click to collapse
thanks a lot ! i am sure that i make u bored coz of my questions well i seaerched google and i found it but all of them has virus.do uhave one without virus?

[Q] blue screen after flashing s8500

after modify the new firmware bada 2
"S8500BULA3_S8500ATLLA3_ATL"
i modify csc and shpapp files for adding my languages
ENGLISH,FRENCH,ARABIC,FARSI,URDU,KOREAN
read and write
flashing success
booting success
after about 40 sec
my wave give blue screen
" Platform 'so' checking is failed ...
Platform 'so' modification is detected !!! "
the language for read changed and working great
but no any keyboard
what i modify?
csc
fonts folder
replace folder opeuro with opasia (ime)
replace string folder with s8600
replace the 2 files .ini opeuro.. with 2 files OpAsiaIMEdefault.ini nd OpAsiaIM.ini (reg)
add imereg.ini (reg)
change settinglangeage.ini (reg)
shpapp
add OpAsiaIME.so and OpAsiaIMESetting.so in shp folder
and GeneralSoInfo.so.sig
.......
where is the wrong?
thanks in advance
Mr_W_o_l_f said:
after modify the new firmware bada 2
"S8500BULA3_S8500ATLLA3_ATL"
i modify csc and shpapp files for adding my languages
ENGLISH,FRENCH,ARABIC,FARSI,URDU,KOREAN
read and write
flashing success
booting success
after about 40 sec
my wave give blue screen
" Platform 'so' checking is failed ...
Platform 'so' modification is detected !!! "
the language for read changed and working great
but no any keyboard
what i modify?
csc
fonts folder
replace folder opeuro with opasia (ime)
replace string folder with s8600
replace the 2 files .ini opeuro.. with 2 files OpAsiaIMEdefault.ini nd OpAsiaIM.ini (reg)
add imereg.ini (reg)
change settinglangeage.ini (reg)
shpapp
add OpAsiaIME.so and OpAsiaIMESetting.so in shp folder
and GeneralSoInfo.so.sig
.......
where is the wrong?
thanks in advance
Click to expand...
Click to collapse
What about the .rsr files??? you want to only want to add the csc or also the keypad languages???
tapan15in said:
What about the .rsr files???
Click to expand...
Click to collapse
thanks for reply
.rsr ... you mean string files?
i change it related to adding language
Lang0=1
Lang1=3
Lang2=34
Lang3=43
Lang4=44
Lang5=40
(ENGLISH,FRENCH,ARABIC,FARSI,URDU,KOREAN)
you want to only want to add the csc or also the keypad languages???
Click to expand...
Click to collapse
no i don't want to add csc (i should modify something in csc ? )
just language read,write
Mr_W_o_l_f said:
thanks for reply
.rsr ... you mean string files?
i change it related to adding language
Lang0=1
Lang1=3
Lang2=34
Lang3=43
Lang4=44
Lang5=40
(ENGLISH,FRENCH,ARABIC,FARSI,URDU,KOREAN)
no i don't want to add csc (i should modify something in csc ? )
just language read,write
Click to expand...
Click to collapse
Okay hee is the problem that you have replaced the string folder from s8600 you should not replace it. Instead edit the rsr files from the sdk and then replace it and it will work.
tapan15in said:
Okay hee is the problem that you have replaced the string folder from s8600 you should not replace it. Instead edit the rsr files from the sdk and then replace it and it will work.
Click to expand...
Click to collapse
ops
sdk ...
i never use it before
thanks
you are sure that the problem in string files?
(i think string files for read , no?)
the wrong not in shp files? (.so)
the blue screen give
" Platform 'so' checking is failed ...
Platform 'so' modification is detected !!! "
Mr_W_o_l_f said:
you are sure that the problem in string files?
(i think string files for read , no?)
the wrong not in shp files? (.so)
the blue screen give
" Platform 'so' checking is failed ...
Platform 'so' modification is detected !!! "
Click to expand...
Click to collapse
Buddy u need to chang
e the .so files too along with the rsr files from the sdk. See if you dont know how th make a custom keyboard i think u should drop it like this you will brick your phone.

Categories

Resources