Hello. I have a Questions. How i can Edit language ( i have Stock rom in English but i'm From poland and rom haven't got Polish :S) and how i can edit This window with Silent mode , Airplane mode and Power off? I Will add Reboot Recovery and Fastboot but i don't know why
Thank
nobody knows?
What you are looking for is in framework-res.apk
Code:
res/values-pl/strings.xml
You will need to use apktool, or build from source. Your locale is "pl". It is supported by android, just not those strings specifically.
There are too many differences but you can compare the two files (english and polish) to add in any translations you want. Once you get the translations done, if you want to update this thread with what you changed I can actually commit those translations to cyanogenmod so that it will be in future builds.
English:
https://raw.github.com/CyanogenMod/android_frameworks_base/jellybean/core/res/res/values/strings.xml
Polish:
https://raw.github.com/CyanogenMod/.../jellybean/core/res/res/values-pl/strings.xml
Please let me know if you have any questions, I would suggest building from source, if you can't I will do my best to help using apktool or smali/baksmali. I don't really do anything that isn't built from source so I don't know how much help I would be without source code.
Good Luck.
APKTOOL I use to decompile framework-res.apk Thank You for file with polish language - now I have less work.
And if I add res/values-pl/ in First start phone i will have pl language in change language?
And where is options after click power button? I will add "Reboot into recovery" and fastboot.
Related
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
Hi All,
I'm a noob ROM developer and I want to create a new Rom based on
one of the great Roms here on this forum and add it support for RTL languages so it can support correct display of numbers when displaying an RTL lang.
As I understand I need to somehow decompile the "classes.dex" so I can edit the code in it and compile it again.
How can I achieve this? Maybe I can the original source code of it so I don't need to decompile?
I'm experienced with c++ and Java Android apps development but don't have a clue from where to start roms development.
Appreciated your help,
Thanks,
Oren
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.
Hello all, i just wanted to ask how to translate an apk. I was practicing with some apps to translate some english parts in my MIUI rom, edited strings and arrays in values-es (spanish is what i want), but when i recompiled, the .APK was smaller, and when i tried to install, it said App Not Installed. I tried with APKTool and APKManager, same results. Please help!
I think you should get the source code and create another language xml file to make it work and rebuild the project. In case there is no lang file nowhere in the source, you may not translate it.
roncsak said:
I think you should get the source code and create another language xml file to make it work and rebuild the project. In case there is no lang file nowhere in the source, you may not translate it.
Click to expand...
Click to collapse
Oh, ok thanks!
Good day, @xda. Please could anyone assist me. I need to change the name of some languages in my rom. I'm adding a new language in the rom though I dont know how to do that. So I thought of modifying an existing language. I have done the modifications. However I dont know where to change the language name from. I've checked the settings.apk, settingsprovider.apk, aqnd InputDevices.apk, but I cant find the language string. Thanks. My Android version is 4.2.2.