(LG GW620) Custom Rom - add locale in settings.apk - Android Software/Hacking General [Developers Only]

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!

Related

How to translate ROM's?

Im trying to know if is possible to "edit" roms and change some "strings" to the language that i want.If is possible to do that please indicate me a tutorial or manual to study and i will try to translate a WM6 rom from English to Portuguese based on old roms...
Sorry my bad english
Look for *.0409.mui in Windows directory, those are language files for corresponding dll/exe
I am trying to do the same
Is it possible to have 2 languages? For instance can I have .408.mui ?
Thanks!
Tna said:
I am trying to do the same
Is it possible to have 2 languages? For instance can I have .408.mui ?
Thanks!
Click to expand...
Click to collapse
As far as i understand it, you can not have two set-up, but i may be wrong.
I am 99.99% sure you can have multiple languages on one device, it is selected in the Registry.
Just search for 0409 and see where it pops up, DefaultLCID I think is the one.
Remember to choose the correct language code:
Portuguese (Brazil) 0416
Portuguese (Portugal) 0816
You need to translate all mui-Files, the html-Files and don't forget software- and hardware-keyboard.
is there any specific software that enables the editing or just a simple unicode text editor will do?
To edit a dll i guess we need a tool like VS2005 or something.But here we can find the source to compile dll??Or maybe we could use a simple editor...
Anyone with experience in this area?
Thnx in advance
you could have searched before creating a new post.... actually it's even on the first page..
http://forum.xda-developers.com/showthread.php?t=305155
That link its almost written in german and only give a superficial idea how to do that...
Still looking for answers.
no, it's almost english and it' s the only called "guide for translating rom"!

Translation tutorial

hi folks, i would like to custum my trinity and change words in menus.
is there a tutorial somewhere about how re edit a language file,couldn t find any.
thx for your help
http://www.buzzdev.net/index.php?option=com_content&task=view&id=61&Itemid=1
not sure if this is the same for trinity too
but even if it's not then the makers of the language packs may have some insight as to one go about changing languages

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.

How to add locale and it's associated font in android source

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

[Q] Enabling other languages?

Hi,
I'm currently waiting for my Moto G, it should come in next few days. So I want to ask you - is it possible to enable the other languages, which is normally available on the other Android devices? I mean european languages like Czech, Slovak, Bulgarian and so on...
I've found some general guide for that there, but I'm not sure, if that will work - http://forum.xda-developers.com/showthread.php?t=2281254
Could you please try it or tell me the options? The fastest solution is usually to flash some other ROM with full language support by default, but this device is so new, that the custom ROMs currently don't exist.
Thank you for your help
Motorola don't plan to add Czech language even in Kit kat update
Have anyone followed the guide? I guess phone need to be rooted to follow this guide, right?
JanHavlicek said:
Hi,
I'm currently waiting for my Moto G, it should come in next few days. So I want to ask you - is it possible to enable the other languages, which is normally available on the other Android devices? I mean european languages like Czech, Slovak, Bulgarian and so on...
I've found some general guide for that there, but I'm not sure, if that will work - http://forum.xda-developers.com/showthread.php?t=2281254
Could you please try it or tell me the options? The fastest solution is usually to flash some other ROM with full language support by default, but this device is so new, that the custom ROMs currently don't exist.
Thank you for your help
Click to expand...
Click to collapse
The simplest way is the morelocale2 app - with this you can see that which language is "installed".
The hardest way - translate the apps. - Previously I translated the Motorola Atrix 2 ICS & JB's factory rom and the MIUI V5 to Hungarian Language. I'm sorry to read that in Hungarian wont officially planned the distribution of MOTO G - therefore I start the Hungarian translation on Friday.
This is the method:
You need java jdk(after install you need integrate the place of the java file to the enviroment value - path) and the latest android sdk (just copied the adt-bundle-windows_x86-64 to the C:\Program Files) installed on your computer. Then you need the latest apktool.1.5.2, and the install package fromhere - coiped the unziped archives to C:\Windows
I use TotalCommander - i put the apktool.jar and the app which is need to be translateted (and the framework files) in one folder, then "cmd" comand and install the framework files first:
apktool if framework-res.apk
Then decompile the apps (67 apps has language files, for some reason the DeskClock.apk not working):
outwards:
apktool d-s xy.apk
In the decomplied folder there is a res folder in this, you need to create a new folder - values-cz (czech) or values-sl (slovak). You need to see what in the original values-zh-rCN (China is the folder I'm writing it because it was already a good starting point on the Atrix 2) or in the values-zh-rTW and you must create the same files in the values-cz folder (arrays.xml, strings.xml and plurals.xml). If there are raw-zh-rCN folder in the res folder, you need to create a raw-cz folder, and make the same files in it.
I think I will use the some quad-core Qualcom telephone 4.3 apps starting point.
If you complete one .apk, you most recompile the folder
inward:
apktool b xy (only the folder name does not have the .apk's end)
then locate the folder [dist] subfolder in there you need to delete xy.apk (this is new. APK, but it is good for nothing, because they incorrectly signed)
Now there is a folder [build] folder, which contains the [apk] subfolder, now have to TotalCommander and one side - say the left - is the original apk that smooth TC in megnyitol and in there [META-INF] + AndroidManifest.xml is copied to - its sub-pages [apk], overwriting the files that are in there - it's just right.
Now and back again:
apktool b xy
and [dist] folder now has the right to use.
if the cmd drop an error log, you need to find the errors, which is displayed on the command line.
I have just received the global GSM version of the the Moto G sold in the US (system version 14.14.16.falcon_umts.Retail.en.US), which only comes with 4 languages:
- English
- Spanish
- Portuguese
- French
This paucity of languages is just absurd.
Since it is a gift for a relative in China, I needed the phone in Chinese. Luckily, the UK ROM does include Chinese as a system language (which I discovered at http://blog.clove.co.uk/2013/11/22/motorola-moto-g-languages/), so I flashed the UK ROM following the instructions at http://forum.xda-developers.com/showthread.php?t=2542219 .
jichuan89 said:
I have just received the global GSM version of the the Moto G sold in the US (system version 14.14.16.falcon_umts.Retail.en.US), which only comes with 4 languages:
- English
- Spanish
- Portuguese
- French
This paucity of languages is just absurd.
Since it is a gift for a relative in China, I needed the phone in Chinese. Luckily, the UK ROM does include Chinese as a system language (which I discovered at http://blog.clove.co.uk/2013/11/22/motorola-moto-g-languages/), so I flashed the UK ROM following the instructions at http://forum.xda-developers.com/showthread.php?t=2542219 .
Click to expand...
Click to collapse
Thank you very much! just orderd my Moto G on Amazon for my mom. This one helps me a lot to get the Chinese language back.:laugh::laugh::laugh::good:
https://play.google.com/store/apps/details?id=jp.co.c_lis.ccl.morelocale&hl=en will help You.
any one know if the 4.2.2 update added any new languages?
thanks!
mocsharp said:
any one know if the 4.2.2 update added any new languages?
thanks!
Click to expand...
Click to collapse
Yes, new languages included, Chinese both simplified and traditional, plus other European languages, spanish, italian, dutch, polish, portguese,
dongdong said:
Yes, new languages included, Chinese both simplified and traditional, plus other European languages, spanish, italian, dutch, polish, portguese,
Click to expand...
Click to collapse
But don't have vietnamese i need it .
I'm also waiting for this phone. I ordered it from amazon.de, now i know that my language will not be there, nevermind, English is also good. And i think, when/if will be CM or OMNI out for Moto G, more language will be there.
amcrac that
hendykhanh said:
But don't have vietnamese i need it .
Click to expand...
Click to collapse
Try to install Locale More Pro from PlayStore — vietnam language localization is present there. All apps that support vietnamese would return into vietnamese.
there are some other languages that I dont recognize in the menu, my list is not complete.
Slovenian Language
Is it possible to install Slovenian language?
---------- Post added at 09:50 AM ---------- Previous post was at 09:45 AM ----------
or is there any godo howto how to do it? I am searching for a whole day without any success

Categories

Resources