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
Related
Hey guys, I've learnt how to decompile most of the class files through dexdump.
For details check this out:
http://zeaster.blogspot.com/2007/11/how-to-decompile-dex-file-on-android_28.html
But say I wanted to decompile edit an XML file in folder \res\xml\appwidget_info.xml and resign/package an apk file. How would I go about doing that?
I've heard something about opening it up in a hex editor and this is what I get (screenshot). I'm most interested in viewing/editing the android:updatePeriodMillis value. This is in relation to the 1x4 Calendar Widget not updaating properly. Any pointers will be helpful and much appreciated.
how to do that ??
Rotundjere said:
how to do that ??
Click to expand...
Click to collapse
read the date of the post
slap yourself
read http://forum.xda-developers.com/showthread.php?t=640592
Brut.all's apktool will decode and rebuild apks and jars
you won't get java code out of it instead you will get smali code
if only want to mess with xml's strings it will let you do that
Too funny
Effdee said:
read the date of the post
slap yourself
read http://forum.xda-developers.com/showthread.php?t=640592
Brut.all's apktool will decode and rebuild apks and jars
you won't get java code out of it instead you will get smali code
if only want to mess with xml's strings it will let you do that
Click to expand...
Click to collapse
Subtle yet absolutely hilarious.
I know even my post comes late, searched for Brut.all's apktool and seen this thread, still worth noting the humour.
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:
Ok so I'm trying to make the menu font white so i can give it a black bg.
I decompiled xmls and all, did everything right BUT now when I go to recompile...
http://forum.xda-developers.com/showpost.php?p=14121644&postcount=196
Realorasz said:
Ok so I'm trying to make the menu font white so i can give it a black bg.
I decompiled xmls and all, did everything right BUT now when I go to recompile...
http://forum.xda-developers.com/showpost.php?p=14121644&postcount=196
Click to expand...
Click to collapse
Have you tried the UOT kitchen.....
http://uot.dakra.lt/
Or maybe this will help too....
http://forum.xda-developers.com/showthread.php?p=13874800
Good luck.
smartgardens said:
Have you tried the UOT kitchen.....
http://uot.dakra.lt/
Or maybe this will help too....
http://forum.xda-developers.com/showthread.php?p=13874800
Good luck.
Click to expand...
Click to collapse
Neither help, sorry. UOT can't change font colors in the menu and that cm7 thing is for images, again not for font colors in the menu.
Delete public.xml from res/values. It will regenerate while compiling.
Sent from my X10
realunited123 said:
Delete public.xml from res/values. It will regenerate while compiling.
Sent from my X10
Click to expand...
Click to collapse
Not helping.
Realorasz said:
Not helping.
Click to expand...
Click to collapse
What does it say? You deleted public.xml?
Sent from my X10
realunited123 said:
What does it say? You deleted public.xml?
Sent from my X10
Click to expand...
Click to collapse
Says something about 'declared here is not defined' at the end of every line
Whatever's happening I'm getting errors on everything no matter what I try and I'm following the instructions.
Try compiling it ignoring the error messages then from the compiled apk, extract the files you modified including png and xml files, then from the original apk open it with winrar and paste the files you extracted previously.
gil2004xp said:
Try compiling it ignoring the error messages then from the compiled apk, extract the files you modified including png and xml files, then from the original apk open it with winrar and paste the files you extracted previously.
Click to expand...
Click to collapse
Thing is its not compiling any apk.
Which tool are you currently using for compiling/decompiling?
Try extracting framework again, follow this
Yeah that is what I'm using.
Sent from my X10 TripNMiUI-IRIS
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?
hello everyone
i searched a lot but couldnt find anything so postiong here
i was trying to add some featues to home.apk and i got some errors while recompiling
so i tried decompile and recompile without editing anything...i didnt even open the decompiled home apk folder LOL
but i am getting lots of smali errors only in styles.xml
i think that apktool removes some templates from styles.xml i dont know what it means i just got it from my search
so can someone help me in fixing that error....
@serajr
@SpaceCaker
@marcussmith2626
@iSiddharth
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
marcussmith2626 said:
Either wrong framework loaded or using wrong apktool version
And please stop abusing the mention system - I won't reply to anymore mentions
Click to expand...
Click to collapse
Ah sorry
But what do u mean by WRONG apktool version??
abhishekr700 said:
Ah sorry
But what do u mean by WRONG apktool version??
Click to expand...
Click to collapse
use
gingerbread/ics/jb 1.5.2
https://code.google.com/p/android-apktool/downloads/list
jb/kitkat/lolipop apktool rc3
https://bitbucket.org/iBotPeaches/apktool/downloads
use correct framework-res
plus any other framework eg tw-framework
Use Advanced APK Tools for decompiling the APK files and you can also use the Attached Dex Editor to edit classes.dex files.....
Advanced APK tools is specially made for Xperia devicex. (use your "framework-res.apk" to install firmware in Advanced APK Tools)
(Drag and drop classes.dex in "Quick-Baksmali.cmd" to decompile and drag and drop the output folder is "Quick-Smali.cmd" to recompile.
Advanced APK Tools : http://forum.xda-developers.com/showthread.php?t=2639400