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
Hello,
I have looked for this for a long time and haven't come up with an answer.
I know Android uses the Locale.java code for looking up and matching the locales.
I also know it uses ISO-639 for language codes.
But what is frustrating me is - Where is this ISO-639 table/code/file stored in Android?
I decompiled every jar in framework folder and I didn't find anything.
Can someone help me with this issue?
Thank you!
Hi,
I am using Slim Rom but sadly dev does not support additional languages. I wanted to know the ways to add languages myself hopefully without too much coding. Can anyone advise me on this issue? Million 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.
Hello everyone
i need some help to find xml language file location.
in older version of Android used to be on system/csc/language.xml
i usually delete it to enable all languages.
on android 5.0, 5.1, 6.0 file not there.
can somebody help me find it? or if there is a way to enable all languages on note 4 n910v?
already tried language enableder, morlocal..etc. its will not enabled languages on the language list. so it doesn't help.
being a week searching around and never find what I'm looking for.
if anyone have an idea to share. i really appreciate it.
Thank you in advance.
Hi man, I'm facing same problem, I found csc folder in root of phone, but deleting default.xml does't change anything. Verizon removes other languages from system
i did it too, i don't remember the file name inside csc i think was default.xml as you mentioned, but did not change anything. and I'm not sure if they removed the other languages, are you sure the other languages has been removed?