Android Localization? - Android Software/Hacking General [Developers Only]

Hello people,
I just saw on YouTube that some guy had localized their Android in Ukrainian. Is it possible to do this in other languages and what would I need for this?
Thanks a lot!

zkvvoob said:
Hello people,
I just saw on YouTube that some guy had localized their Android in Ukrainian. Is it possible to do this in other languages and what would I need for this?
Thanks a lot!
Click to expand...
Click to collapse
You could:
Download system sources (original AOSP or maybe sources of some ROM, if they are available), modify them and build. Very long way - I don't recommend it to you.
Talk to some ROM cooker - you will send him localized strings and he will integrate them into his ROM.
You could also use apktool to decode framework-res.apk file, add new locale, build it and install, but it isn't that good: first - it might add some issues, second - you will have to do it after each ROM update.
Second option is the best, I think.

try this app, for me it works with the latest king MT3G-Slide2G1 ROM
http://www.androlib.com/android.application.jp-co-c_lis-ccl-morelocale-qnpC.aspx

bluedragon1982 said:
try this app, for me it works with the latest king MT3G-Slide2G1 ROM
http://www.androlib.com/android.application.jp-co-c_lis-ccl-morelocale-qnpC.aspx
Click to expand...
Click to collapse
Err... I think you didn't understand first post ;-)

Brut.all said:
You could also use apktool to decode framework-res.apk file, add new locale, build it and install, but it isn't that good: first - it might add some issues, second - you will have to do it after each ROM update.
Click to expand...
Click to collapse
Will try it,but where I have to add new locale?
Framework-res.apk now decoded,but at which file are the languages?

Ganii said:
Will try it,but where I have to add new locale?
Framework-res.apk now decoded,but at which file are the languages?
Click to expand...
Click to collapse
You must create e.g res/values-fr (for French language) directory and place strings.xml file in it - similar to strings.xml in the res/values dir.
You should read about Android apps development.

After decoding the apk I add this to the "res" folder,maybe you can
check if it`s right?
Original framework.apk also attached!
Then,after decoding,I have to build new apk and sign it,right?

Hi
did anyone succed with this? In my case all the languages are existing in framework-res.apk but unfortunately only a few of them are available in the language settings menu. Does anyone have an idea on how the menu is set up?

Android localization tool
You can localize Android apps in up to 200 languages using this localization tool: poeditor.com. Translators will have a great time with it, as it offers various features such as translation memory and automatic translation via Google or Bing. :good:

Related

Rebuild font pack in G1?

Can anyone know how to rebuiid fonts in G1 so that we can read Unicode perfectly. In fact, I'm using Vietnamese and my language has some letters like à, á, â, ừ, ă, đ,... Now that when I browse web which use Vietnamese, I just only can see the rectangle characters instead of those above.
I found out that in the system directory there has font. And I don't know how to replace those fonts with the Unicode one.
Any ideas for this problem?
You can use my modified update :
http://www.4shared.com/file/78879606/a6450d7b/update.html
I modified it to support multi-language
Can this pack fully support Unicode? Do you base on JF1.3 firmware?
bountyhunter said:
Can this pack fully support Unicode? Do you base on JF1.3 firmware?
Click to expand...
Click to collapse
Yes, It fully support Unicode and you can upgrade it to see Vietnamese websites. I have upgraded on my G1 and it's okay.
i've done it for hebrew - you can do it too
it's quite simple, all you have to do is replace the fonts in the fonts directory (only droid sans and droid sans bold) with fonts that you know have your language, after you replace these fonts (and rename them of course) you have to re-sign the update.zip file and update with it as you would with jfv1.3
so to recap:
open the jfv zip
navigate to fonts directory
delete droid sans and droid sans bold
copy your own (and rename them accordingly)
re-pack the file
sign it with apk sign and the recovery image's key
update it
really simple
--
peace to israel\gaza
Thanks for your Firmware Funbacon and thanks for the guide to cook firmware with my language fonts by eladkatz
Hebrew Support
Elad,
Thanks so much for your post. I'm a bit at a loss, though---
Where did you get the fonts for hebrew? From the SDK? And if you get them, and have root, why can't you just replace the ones already on the phone?
Also, is there any guides that you know of that would help me compile and sign my own modified rc30?
Thanks
Shalom, here and there...
yochai
Ah I found this sticky on repacking boot images... so that's good. But I would really like to replace my fonts directory... although i have a feeling it needs to be compiled.
Also, do you still have your modified hebrew rc30? thanks
I repacked update.zip with my own fonts but when it goes to verify the package, I get an error,
EDIT: Never mind I had signed the update incorrectly. Thanks for the initial instructions though.
yochaigal said:
Ah I found this sticky on repacking boot images... so that's good. But I would really like to replace my fonts directory... although i have a feeling it needs to be compiled.
Also, do you still have your modified hebrew rc30? thanks
Click to expand...
Click to collapse
I thought I answered you on Android Community forums. The instructions and Hebrew RC30 update can be found on iandroid.co.il forums.
I looked through them, and was unsuccessful. The posted rc30 mod there is no longer available, for one thing. Also I really wanted to know if uploading JF's rc30 would reverse their changes.
yochaigal said:
I looked through them, and was unsuccessful. The posted rc30 mod there is no longer available, for one thing. Also I really wanted to know if uploading JF's rc30 would reverse their changes.
Click to expand...
Click to collapse
Here you go. Scroll down the thread and you will see a link to the attachment. http://iandroid.co.il/phpBB3/viewtopic.php?f=5&t=32
Do you mean the rapidshare post? because that is no longer avaiable.
yochaigal said:
Do you mean the rapidshare post? because that is no longer avaiable.
Click to expand...
Click to collapse
I just tried it. It's available. Please review the entire thread. It's there.
JF v1.4 MultiTouch with Unicode fonts.
Hi Thanks to Funbacon and JF for R30 v1.41, I just modified it to include the unicode fonts originaly was in v1.3 (Funbacon post). Please download it and rename to update.zip and following instruction from JF v1.41 update.
http://www.hoadam.net/jf141_unicode.zip
This version will let you use Multi Touch with unicode, not sure other languages but Vietnamese language looks fine. This also give you auto rotate for the browser as well.
Thanks all!
zip file is not valid...
can someone explain to me what the unicode fonts do for us? thanks...
repack Unicode font for jk 1.41
yochaigal said:
zip file is not valid...
can someone explain to me what the unicode fonts do for us? thanks...
Click to expand...
Click to collapse
It will let you read/view websites with foreign characters. If you don't need then just use the original jk v1.41.
Well I have been having issues with hebrew fonts... is it necessary to use a unicode rc30 mod in order to get the fonts to work correctly? perhaps that explains why my formatting is all weird with the new fonts... either way the above mentioned update does not work...
huyle39 said:
Hi Thanks to Funbacon and JF for R30 v1.41, I just modified it to include the unicode fonts originaly was in v1.3 (Funbacon post). Please download it and rename to update.zip and following instruction from JF v1.41 update.
http://www.hoadam.net/jf141_unicode.zip
Thanks all!
Click to expand...
Click to collapse
will this support the arabic language ?!
ahmad.yousry said:
will this support the arabic language ?!
Click to expand...
Click to collapse
I doubt it. I've read here that even if you install a font that supports arabic, letters are shown as not connected in a word. From what I understand, cupcake update 1.5 should support arabic, however this was not mentioned in the roadmap but was mentioned in articles discussing the leaked cupcake images.

Localization android ui

how can i Localiz android apps and ui to a native language?
oror494 said:
how can i translate android apps and ui to a native language?
Click to expand...
Click to collapse
Are you asking how to extract an APK's source code?
akapoor said:
Are you asking how to extract an APK's source code?
Click to expand...
Click to collapse
no there is an xml with language and if i will translate it to lets say dutch i will have a dutch app
where is the xml locate in the apk and how do i edit it?
bump.........................................

[Q] Develope new Language for CM7 (Persian)

Hi
I want to develop a new language (Persian - something like Arabic with additional characters) for Milestone CM7 (Both UI and keyboard). Is there anybody who can help me to know where and how I should start?
erfannf2 said:
Hi
I want to develop a new language (Persian - something like Arabic with additional characters) for Milestone CM7 (Both UI and keyboard). Is there anybody who can help me to know where and how I should start?
Click to expand...
Click to collapse
Use apktool to extract string.xml in every apps, create a project on crowdin.net, upload string.xml to your project, ask friends for translate!
Googling for more information about apktool and crowdin.net
This is not the right way.
CM is open source, so you should make changes to the source from which CM is built and submit them for review to be eventually merged.
See http://wiki.cyanogenmod.com/index.php?title=Howto:_Gerrit
Btw., I thought that base of Persian locale is already included in CM7.1.
kabaldan said:
This is not the right way.
CM is open source, so you should make changes to the source from which CM is built and submit them for review to be eventually merged.
See http://wiki.cyanogenmod.com/index.php?title=Howto:_Gerrit
Btw., I thought that base of Persian locale is already included in CM7.1.
Click to expand...
Click to collapse
That's the best way, but im not similar with linux/ubuntu so i prefer my way, but never mind, CM7 already has Vietnamese language!
kabaldan said:
This is not the right way.
CM is open source, so you should make changes to the source from which CM is built and submit them for review to be eventually merged.
See http://wiki.cyanogenmod.com/index.php?title=Howto:_Gerrit
Btw., I thought that base of Persian locale is already included in CM7.1.
Click to expand...
Click to collapse
I found the Persian Language in CM 7.1 (It wasn't there in CM 7!!!) and It's not bad, but it's incomplete. The numbers should be changed and some texts need translation.
I'm wondering if only the text direction and position in settings could be set as right-to-left. Is it possible?
Is there a way to add Persian calendar to the system? Is the calendar app opensource? Is is possible to add a new module to kernel?????
Sent from my Milestone using XDA App
erfannf2 said:
Is there a way to add Persian calendar to the system? Is the calendar app opensource? Is is possible to add a new module to kernel?????
Sent from my Milestone using XDA App
Click to expand...
Click to collapse
Try to extract the strings from Calendar.apk and translate them.Then recompile the apk and push it back to phone
https://github.com/CyanogenMod/android_packages_apps_Calendar
kabaldan said:
https://github.com/CyanogenMod/android_packages_apps_Calendar
Click to expand...
Click to collapse
Thanks man. I'll apply changes and then will release the new calendar. Really thanks.
yurasts said:
Try to extract the strings from Calendar.apk and translate them.Then recompile the apk and push it back to phone
Click to expand...
Click to collapse
LOL, it's the wrong way
kabaldan is right
Hi everyone! First I want to download source, like it's described here. But first problem is that when I type command
Code:
repo sync
it starts downloading CyanogenMod for all devices and that takes a lot of time. How can I download CyanogenMod source code for Milestone only? The next question is, when I complete the translation, where can I send the source code?

[HOWTO] Add Languages To Samsung Keyboard / Port Swype

this is my first tutorial, i hope i can explain everything good enough
today i will tell you, how you can add more languages to samsung keyboard.
and how you can port swype to every rom.
needed files:
in folder /system/app from the latest official firmware
AxT9IME.apk (& AxT9IME.odex*)
in folder /system/etc/permissions from the latest official firmware
touchwiz.xml
in folder /system/lib from the latest official firmware
libdhwr.so
libXt9core.so
only if you want to port swype, these files:
in folder /system/app from the latest official firmware
Swype.apk (& Swype.odex*)
in folder /system/lib from the latest official firmware
libSwypeCore.so
----------
now let's start:
1. replace/add all needed files in your rom
2. you can find the languages you want to add to samsung keyboard in the folder /system/t9db
you will need 3 different files for one language.
for example:
to add german language in your rom, you need these 3 files:
phonepad_de.kdb
qwerty_de.kdb
Samsung_400_DEusUN_xt9.ldb
add the language you want to use to /system/t9db in your rom
3. there is a need to add all languages (acronyms) you can find in your new /system/t9db
to others.xml ( /system/csc )
for example:
the code in others.xml for english (en), german (de), french (fr), italian (it)
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<CustomerData>
<SettingsData>
<AudibleTouchTones>off</AudibleTouchTones>
<AudibleSelection>off</AudibleSelection>
<HapticFeedback>0</HapticFeedback>
</SettingsData>
<SamsungKeypad>
<inputlist>[COLOR="DarkBlue"][B]en(UK);en(US);de;fr;it;[/B][/COLOR]</inputlist>
</SamsungKeypad>
</CustomerData>
open /system/CSCFiles.txt
remove all lines with /system/T9DB/*
your cscfiles.txt should look similar like this:
Code:
/system/lib/libSwypeCore.so
/system/csc/contents.db
/system/csc/others.xml
/system/csc/feature.xml
/system/csc/sales_code.dat
/system/csc/customer.xml
/system/SW_Configuration.xml
/system/app/Swype.apk
/system/CSCFiles.txt
---------
thats all.
don't forget to set permissions.. clear dalvik and cache, reboot and write in your favorite language ​
nice work will try .
john9 said:
nice work will try .
Click to expand...
Click to collapse
i saw, that there are no csc files in aosp, cm9 and cm7...
so i have to add some more instructions to post#1
edit: done. correct me, if i have something forgotten.
if it is not working to port, i will try to fix it. if we can't port it, i will change the how-to to the simple "add languages"
maybe i will add a how to for adding languages to swype, but everybody can download the latest beta of swype on the website with much more included languages.
Dear texten.
I really did a deep study on this and i already done the things you mentiond.
However I have 2 problems.
1- the slide to change input langueges doesnt work.
2- arabic letters are not configured properly. It may due to font
Sent from my GT-I9001 using xda premium
CodeXpert said:
Dear texten.
I really did a deep study on this and i already done the things you mentiond.
However I have 2 problems.
1- the slide to change input langueges doesnt work.
2- arabic letters are not configured properly. It may due to font
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
hello mate.
to 1: do you mean the space bar in samsung keyboard to change language?
to 2: i think there is no arabic language pack
maybe you have add wrong language packs or wrong acronyms
i have successfully added language packs from kqg to kqb in my rom
texten said:
hello mate.
to 1: do you mean the space bar in samsung keyboard to change language?
to 2: i think there is no arabic language pack
maybe you have add wrong language packs or wrong acronyms
i have successfully added language packs from kqg to kqb in my rom
Click to expand...
Click to collapse
1 - Yes I mean the space bar,,
2- Roms that support Arabic languages are very rare we have only 2.3 and old 2.5 gingerbread from Samsung. havent received any updates since nov 2011
I really tried to port arabic languages from 2.5 to European Rom such us KQB. Took those files you mentioned + the whole csc folder + t9db + patched framework with araboc patch, but I failed
CodeXpert said:
1 - Yes I mean the space bar,,
2- Roms that support Arabic languages are very rare we have only 2.3 and old 2.5 gingerbread from Samsung. havent received any updates since nov 2011
I really tried to port arabic languages from 2.5 to European Rom such us KQB. Took those files you mentioned + the whole csc folder + t9db + patched framework with araboc patch, but I failed
Click to expand...
Click to collapse
it seems you made some mistakes in cscfiles.txt and/or others.xml
try with this files ,without the changes i made, from the firmware you grep the language pack.. just for testing
texten said:
it seems you made some mistakes in cscfiles.txt and/or others.xml
try with this files ,without the changes i made, from the firmware you grep the language pack.. just for testing
Click to expand...
Click to collapse
I will upload those files I managed to port and a flashable zip. You may find the solution though them
CodeXpert said:
I will upload those files I managed to port and a flashable zip. You may find the solution though them
Click to expand...
Click to collapse
ok i need all files , i have mentioned in post#1 - with the correct folder structure
edit: when i have more time, i will try this with cm9
well, i tried to port samsung keyboard to cm7.
there are much more changes needed as i thought.
so, i decided to change this tutorial.
maybe i will make a new thread only for "how to port samsung keyboard".
I've tried to port Samsung keyboard from 2.3 to CM9, it worked, but without xt9. Only QWERTY. On 3x4 layout I was able to type only numbers and symbols. When I've entered users' dictionary, it gave me FC. Logcat said language error. Don't have txt file at the moment.
przemcio510 said:
I've tried to port Samsung keyboard from 2.3 to CM9, it worked, but without xt9. Only QWERTY. On 3x4 layout I was able to type only numbers and symbols. When I've entered users' dictionary, it gave me FC. Logcat said language error. Don't have txt file at the moment.
Click to expand...
Click to collapse
for my port to cm7
samsung keyboard needs changes in the smali-files..
with the kernel of cm7. it is not able to vibrate.
many error output for vibrator.
texten said:
i saw, that there are no csc files in aosp, cm9 and cm7...
so i have to add some more instructions to post#1
edit: done. correct me, if i have something forgotten.
if it is not working to port, i will try to fix it. if we can't port it, i will change the how-to to the simple "add languages"
maybe i will add a how to for adding languages to swype, but everybody can download the latest beta of swype on the website with much more included languages.
Click to expand...
Click to collapse
Hate the keyboards which need full internet access, be aware that they may steal your passwords.
So to port swype is to just take those two files mentioned above and put it in any rom right? and will it work on cm9/cm10?
Juhan Jufri said:
So to port swype is to just take those two files mentioned above and put it in any rom right? and will it work on cm9/cm10?
Click to expand...
Click to collapse
Here you are pal: http://forum.xda-developers.com/showthread.php?t=2054414
[APP][ICS/JB] SWYPE BETA 1.3 for ALL devices and roms!
send from my card board box using ProjectStock 4.0
Can't find the files
I am trying to install arabic language support on galaxy note SweetROM v5 LSF but I can't find CSCfiles.txt at all
Is it OK to do the tutorial without having to edit CSCfiles.txt ??
Though I have found /System/csc/contents.db which contains similar links to system files with file size value, Should I try & edit that ??
Also others.xml doesn't have those lines mentioned in the tutorial, but there's language.xml file which have <languageSet> <Display> and <Input> <SupportList> tags .. Is that the file meant for editing?
Mohammed Atef said:
I am trying to install arabic language support on galaxy note SweetROM v5 LSF but I can't find CSCfiles.txt at all
Is it OK to do the tutorial without having to edit CSCfiles.txt ??
Though I have found /System/csc/contents.db which contains similar links to system files with file size value, Should I try & edit that ??
Also others.xml doesn't have those lines mentioned in the tutorial, but there's language.xml file which have <languageSet> <Display> and <Input> <SupportList> tags .. Is that the file meant for editing?
Click to expand...
Click to collapse
if you dont have these lines, just copy and paste. and edit the parts which are needed to add the new language. the tutorial works if you doing it step by step.
good luck
Hi guy, I think this instructions is only work with old version of Android and newer version maybe different. Any instructions of how to this on Android MM?

help tranlate ics rom in italian

I will try to translate in Italian, but I do not know which files are to be translated. I read around that the file to be translated is framework-res \ res \ values ​​\ strings.xlm I wanted to know what other files need to translate .
if some advanced user can give some suggestions in order to broaden the list of compatible languages
yesterday i tried translate to spanish but i got error when compile framework-res
cuatrodosge said:
yesterday i tried translate to spanish but i got error when compile framework-res
Click to expand...
Click to collapse
What was the error?
Try this in ubuntu
Code:
apktool if framework-res.apk
apktool if lge-res.apk
apktool d framework-res.apk Fres
apktool b Fres framework-res.apk
you must be sure to change parts correct. Anyway defcom you have idea which file i need to edit??
tnks in advace
give this a try
http://www.freeyourandroid.com/guide/how_to_translate_any_rom_to_any_language
http://forum.xda-developers.com/showthread.php?t=1736409
defcomg said:
give this a try
http://www.freeyourandroid.com/guide/how_to_translate_any_rom_to_any_language
tried to follow the guide but when I put the new file to the rom partially translated menu style has changed is just like that of a tablet (with two columns). so I thought I tried to decompile the apk and recompile again without making any changes and show the same problem ... I see that when I rebuild the apk format change .. is this normal?
how can I fix?
tnks
Click to expand...
Click to collapse

Categories

Resources