How to add locale and it's associated font in android source - Android Software/Hacking General [Developers Only]

Hi all,
I've been trying to add new locale ml_IN(malayalam -India) and it's font to android source.Some how I added font to android emulator by replacing DroidSansFallback.ttf with my fonts it worked for me ,I know that is not the right way, when I added it as DroidsansMalayalam.ttf to system/fonts it's not working.
So how can I add a new font to android source without replacing DroidSansFallback.ttf and then compile it.which file/files I need to edit.
(I just tried it by adding DroidSansMalayalam.ttf \ to 'copy_from' in /frameworks/base/data/fonts/android.mk and also added element <fallback ttf="DroidSansMalayalam" /> a to /frameworks/base/data/fonts/fonts.xml still no luck )
In the case of locale I added ml_IN to language_full.mk and language_small.mk files in /build/target/product and I provided malayalam language resourced for calculator application. To view malayalam in list of supported locales in device I added code(ml_IN) and label(malayalam) of my locale to special_locle_code and special locale_names elements, which is in package/apps/settings/res/values/arrays.xml file of Setting application ,
Then I compiled the whole source using make command,then I replaced the system image of emulator with new image it does not show any result
Iam noobe to this Somebody please help me
Thanks for your time
Regards,
Kariyachan

Please help me ......................??????????

I also want to add Japan language support and keyboard to my hero. Please help me. Thanks
Sent from my HTC Hero using XDA App

@Farrukh
Hi there,Let's work together for it .If you got any updation please post to this forum.I will do the same
Now I have following link that that give me some hint.
http://groups.google.com/group/andr...9bb65c5d7d4?lnk=gst&q=locale#56d0c9bb65c5d7d4
http://groups.google.com/group/andr...c3396abf486/507020d4d754d7b4#507020d4d754d7b4
Thanks,
SC

Id like to add a russian keyboard to text o n my froyo galaxy s. Anyone?

hi I am new to Android localisation pls help me
1. how we acquire malayalam localisation
2. Is there is any key map is available for malayalam

Related

Local fonts in on-screen keboard

Hii everybody
I am using the 5.0 G bulid to of htcMagic rom.
Before I installed it, I added my local fonts to the update.zip, and now i can reed my language (Hebrew).
I wonder, if there is any way, that i can edit and add my language fonts to the on screen keyboard?
And if yes - where should I start?
Thank you all for your time!
Itamar.
somebody...?
please...
Thanks..
Read this thread might help you out.

please help with korean font on HD2

Hello all, my problem is in russian ver. of HD2, need help with adding korean readable font, allready added Chinese and Japanese - HTC Sense is working fine, no registry editing.
So anyone can help me with some .cab with font? Something like extract from Korean rom?
You might want to try this post.
http://forum.xda-developers.com/showthread.php?t=633339

(LG GW620) Custom Rom - add locale in settings.apk

Hi everyone,
I really want to add a new language at settings.apk, what i should do?
I don't want to use morelocale, and i use original Launcher...
I'm searching for a long time for a answer!
Already added xml files in all apks, but doesn't show up the new language at menu!
Edited build.prop with my language, the language works fine...
What should i need to do/ edit???
Search all around the world and no answer!
Find some interesting threads:
Info1: h t t p ://stackoverflow.com /questions /2264874 /android-changing-locale-within-the-app-itself
Info2: h t t p ://adrianvintu.com /blogengine /post /Force-Locale-on-Android.aspx
Info3: added code for my regional language(ml_IN) to PRODUCT_LOCALES which is in build/target/product/languages_full.mk did same to build/target/product/languages_small.mk.
Info4: change flex file with my region to show up the language...
Anyone can give me a horizon?
Thanks!

[Q] ICS Localization

Hello,
I have Galaxy S2 HD LTE (shv-e120k). I recently upgraded my device to stock ICS from kies. Rooted it.
Since this device is only for Korean market, the language options are only English and Korean.
I use apktool to decompres, use other tools like notepad ++ vs to add translations of Turkish to the apk's and recompress them with apktool again.
It works fine with only a problem. I translated settings.apk, settingsprovider.apk systemUI.apk, camera.apk and pushed them to /system/app folder.
After that when I use a program like setlocale or morelocale2 I can see that these programs are running in Turkish. But when I go to settings => Language and Input => Language there are only English and Korean. Also when the device reboots the language turns into English again.
When I did the same thing in Gingerbread Rom the Turkish option was added automatically. But with ICS it is not appearing. I think in ICS the settings read it from a file. I could not succeed to find that file. How are the localization settings are handled in ICS?
Thank you in advance.

Add new language in android ics 4.0.4

Hello i have got a smartphone with android ics 4.0.4 but is not present language italian, i want add this language in this android but i think is possible install a new language, there is a way for add new language? thanks
new language for android
softwarelibero said:
Hello i have got a smartphone with android ics 4.0.4 but is not present language italian, i want add this language in this android but i think is possible install a new language, there is a way for add new language? thanks
Click to expand...
Click to collapse
Yes it is. I did it you have decomplile all system apps (+additional apps if you want). and add to folder res folder with your locale: values-it.
in that folder you have to create new xml files stings.xml, sometimes others.
There are your language translations.
Then complile apps and flash rom.
There is a lot of work, you need to read a lot about how to compile/decomplie, sign apps, translate many xml entries.
Tools which can help:
APK Multitool

Categories

Resources