[Q] How can we add new languages to our custom rom?? - Android Q&A, Help & Troubleshooting

Hello everybody...
I want to know that, Is there any way to add a new language support ( just for characters not for UI ) to a rom that we want to customize it???
I tried to add fonts of the new language to the rom, but it just showed the characters disconnected;
Then I tried to replace the LIBSKIA, LIBSKIAGL and LIBSWEBCORE from n rom that supports the language to my rom, and then added fonts , but this time, after flashing the rom did not log in and just freezed in at the HTC logo..
I want to add Arabic - Persian support to my rom, can anyone help???
--------------------
How if I want to add the language to UI ..?? ( How can we change the UI.??)

mercury700ir said:
Hello everybody...
I want to know that, Is there any way to add a new language support ( just for characters not for UI ) to a rom that we want to customize it???
I tried to add fonts of the new language to the rom, but it just showed the characters disconnected;
Then I tried to replace the LIBSKIA, LIBSKIAGL and LIBSWEBCORE from n rom that supports the language to my rom, and then added fonts , but this time, after flashing the rom did not log in and just freezed in at the HTC logo..
I want to add Arabic - Persian support to my rom, can anyone help???
--------------------
How if I want to add the language to UI ..?? ( How can we change the UI.??)
Click to expand...
Click to collapse
well the best way is to room arabic supporting rom, I am currently working on HTC Legend Stock Rom, I will root it, add market and upload it.
If you need other roms maybe you can check this: http://ardoid.com/

add new language
I have Samsung Galaxy Tab (SPH-P100) which it is special America
I try to do my full Arabization device (add arabic language)
I copied system files framework-res.apk, Settings.apk, TouchWiz30Launcher.apk and twframework-res.apk from the device and decompiled it by APk tools
And modified files strings and other
but I can't recompile them again
And now upload modified files and original files
I want from any developer recompile them and upload again
original files
mediafire.com/?uxi9s74ackc4p8f
new modified files only
mediafire.com/?2p7600e9a6sepzj
I ask anyone who has comments or tips be so kind to me if there are important steps or other files must be modified, because may help many others people

xx979xx said:
I have Samsung Galaxy Tab (SPH-P100) which it is special America
I try to do my full Arabization device (add arabic language)
I copied system files framework-res.apk, Settings.apk, TouchWiz30Launcher.apk and twframework-res.apk from the device and decompiled it by APk tools
And modified files strings and other
but I can't recompile them again
And now upload modified files and original files
I want from any developer recompile them and upload again
original files
mediafire.com/?uxi9s74ackc4p8f
new modified files only
mediafire.com/?2p7600e9a6sepzj
I ask anyone who has comments or tips be so kind to me if there are important steps or other files must be modified, because may help many others people
Click to expand...
Click to collapse
If I understand you correctly, you are taking files from the framework of one device and putting them into the framework of a different device?
If that's the case, you can't do that. Apks (even framework apks) rely heavily on things like resource ids, which very greatly from device to device, or from rom to rom.
Unfortunately Im nit sure how to do what you are seeking to do, just offering some advice on your apk compiling problem. Also, if I've completely misunderstood what you were doing, I apologize and disregard what I said.
In any case, post the compiling error your getting.
Sent from my ADR6400L using xda premium

Related

[DEV] HowTo add languages to AOSP ROMs?

Answer on POST #3 by Enomther
Hi,
I'm the author of LeoFroYo, an android 2.2 ROM.
I'm currently trying to integrate read and write arabic support into it and would like to include additional languages into my ROM.
Note: this topic is not about arabic support, but about additional languages.
I know Enomther's TheOfficial has more locales than the stock AOSP.
So I opened this thread to:
Get help to include more languages into the Android system
Make a guide on HowTo do so
So here are my questions:
But how to I include new languages into the system?
Do I only add strings.xml into frameworks_base?
What files do I need?
Simple XML or do I need to madify Makefiles?
How to compile with new languages?
I want those added languages to be listed into the SetupWizard
I think it's Enomther who told me this requiered to change things in vendor/.
But don't know quite what to do nor how.
Thanks everyone to help this community
PS: I will update this first post when a solution/steps will be found so it will be a guide for devs
Am I the only one who's concerned about languages support?
maybe all are satistied with the stock languages
btw, I also want to know how
Sent from my Nexus One using XDA App
how-to
leonnib4 said:
Hi,
I'm the author of LeoFroYo, an android 2.2 ROM.
I'm currently trying to integrate read and write arabic support into it and would like to include additional languages into my ROM.
Note: this topic is not about arabic support, but about additional languages.
I know Enomther's TheOfficial has more locales than the stock AOSP.
So I opened this thread to:
Get help to include more languages into the Android system
Make a guide on HowTo do so
So here are my questions:
But how to I include new languages into the system?
Do I only add strings.xml into frameworks_base?
What files do I need?
Simple XML or do I need to madify Makefiles?
How to compile with new languages?
I want those added languages to be listed into the SetupWizard
I think it's Enomther who told me this requiered to change things in vendor/.
But don't know quite what to do nor how.
Thanks everyone to help this community
PS: I will update this first post when a solution/steps will be found so it will be a guide for devs
Click to expand...
Click to collapse
Yea that was me ...
1) Do not modify and/or add strings.xml to framework
2) Do not modify other xml or any Makefiles
3) Like any other compilation, type "make"
So here's the answer to your real question ...
What I was referring to previously is the need to create a device/htc/passion/(vendor-custom).mk file. To include more languages. (This is what I do)
However..........
Here's another method that may be clearer for you to implement the first go around ...
Apply this patch here ...
Code:
http://github.com/CyanogenMod/android_build/commit/a5c3cb5e5bb243234815159bf63c95ad7327a7ca
Then ... make sure your buildspec.mk includes this line ...
Code:
TARGET_PRODUCT:=full_passion
That's it.
~enom~
Thanks Leo for taking this initiative for Arabic language, lots of people will appreciate your work. Thanks again.
Samy
Sent from my Nexus One using XDA App
What an answer Enomther!
Thank you
I know I could have re-PM you but I also wanted others to have that easy explaination from your words
Thanks, I think this thread is solved
PS: worked for me
just want u to know that we all appreciate ur work
n' i cant wait for your arabic supported rom
Good luck
denteno said:
just want u to know that we all appreciate ur work
n' i cant wait for your arabic supported rom
Good luck
Click to expand...
Click to collapse
BETA2 is released.
I need beta testers for the Arabic support.
Go grab it
it's fully arabic or just read and write ?
See my thread.
This thread is closed.
Sent from my Nexus One

Add other language to cooking rom

hi for all ..
i have idea for add other language from original rom to cooking rom like example Megatron-v1 .
i mean some cooking rom build on original rom Does not contain all languages and for example " Megatron-v1 " Does not contain the Arabic language and Hebrew, because these reason some body like me you can't Benefit from these rom or other..
i have original rom contain Arabic language i was extracted system file and i have unziped or uncompressed " Megatron-v1 " also contain system folder ...
my idea it's copy the language files from original rom to cooking rom after these make the cooking rom zip file and install on phone ....
i am do Something like these but dos not work ..because i don't have a lot of experience to do that for these i would share you my idea to help me how can Add other language to cooking rom ....
thank you very much ...
majdi star
Seems that my request had no interest by any one...
Is it complicated or what ?
thank for all
majdi star
hi
It seems that I am the one who is taking part this subject both Haly Thank you very much...
no problem ..Today I want to share your personal experience you work on
" megatron - v1 " look what i do ...
I've copied these files from the ROM containing the Arabic language in order to add this to the "rom" the tow file from system/lib, libskia.so and libwebcore.so
copy and replace with the original files in megatron rom ..then i am copy framework file from system/framework and replace with original framework file in megatron but when make check update script file from kitchen i have 1 issue in the script the issue it's " error in overwrite or something like these , i am do more tries but i need help you , I do not know the way of writing and the amendment to script
pleas Any proposal to help if possible.
Majdi Star ..

[Q] Where to find custom ROM with other languages??

Seems that people have done so for some of the languages and put the phone for sale online. Can anyone provide a download link if such a ROM really exist. Thanks a lot!
The have a rom with Arabic over in the Atrix forums...perhaps a port?
Sent from my Motorola Photon 4g
Question goes back to How to port another language?
Use apktool to decompile all /system/app/*.apk.
There will be folders values-ru(or br.. or other language,that already on phone)
You should take values folder(that en language) and copy it to values-ru(where ru - is your language).
Then you should decompile /system/framework/framework-res.apk
and translate like other's apk.
btw, don't forget to add values-ru-RU folder(for russian lang, for yours- use your short tag letters), that will add your language to settings, and you will may to choise it.
Good luck.
Thanks! I will give it a try.

[Q] Please how can i add french language to Ligux rom

Hi friends
I request you to help me to add french language and second request how can i change the phone.apk and contactsprovider.apk og ligux rom by lewa apps rom thank you so much​and i think the files of cyanogenmod 7 work in ligux rom thank you​
You cant add it to the ROM it needs to be compiled into the ROM, or i think you can disasemble every apk and add values-something to add your language
thank you for answer
and how can i change the phone.apk and contactsprovider.apk og ligux rom by lewa apps rom thank you so much
Since i think they dont require any special framework file just try to adb push them or swap them in .zip. If they do require framework files then it's inpossible without rewriting it
im beginner
iam beginner to this by my self but i want to thank you because you give me a time from your time thank you

How to add a different language to Rom? Where is language files are located?

I have a Rom that has 2 chinese and 1 English language support. Wanams language enabler did not work. So I need where are language files are located in the Rom so that i can manually add these files from other Roms?
yken said:
I have a Rom that has 2 chinese and 1 English language support. Wanams language enabler did not work. So I need where are language files are located in the Rom so that i can manually add these files from other Roms?
Click to expand...
Click to collapse
Depends where you want to see them. They are compiled into the frameworks and settings.apk etc. Easiest thing is if you don't have teh languages you need on your ROM, use another ROM.
Look at picture. I want to add Turkish language. These are are very beautiful looking Roms, better than all the Roms i flashed.
As said above and files for language or not just in one place in the system .
These are are very beautiful looking Roms>>> flash one of those roms then .
Or find a Turkish forum may be even better .
have a look at
http://forum.xda-developers.com/showthread.php?t=1925831

Categories

Resources