SGH-T959V ROM Translation Project - Samsung Galaxy S (4G Model)

Hi
I'm tired of waiting for MIUI & CM7 and i freaking love Valhalla Final.
I want to make it completely localized.
I will work on Hebrew localization but i will share my knowledge with others who wish to translate it to other languages.
Can someone guide me how i can translate the system menus so it will all be localized?
I will do the work..
Thanks.
Sent from me

Anyone?
Sent from me

perhaps a pm to Raver can lead to some insight
Sent from my SGH-T959V using xda premium

I'll try that. 10x
Sent from me

OK, got some progress.
After some googling i understood i need to decompile APK and did what the XDA APPS and MODS section - "How to decompile an APK" thread suggested.
First, I took an already translated ROM I have of i9000 (to save the translation)
so I defined the framework-res and twframework-res of that ROM and decompiled the
framework-res, so I now have framework-res project with some relevant XMLs I can take for SGH-T959V.
My plan is to take all relevant decompiled APK XMLs from the i9000 ROM
save them all aside and merge them with SGH-T959V XMLs once i decompile the T959V ROM APKs...
Question is - what APKs need to be translated in the system ?
Besides framework-res i see Bluetooth, wifi, and tons of unclear APKs.
Does anyone here know or i'll decompile all and save a side.
Also I assume some i9000 already translated system apps probably work on T959V... (probably MyFiles will not work, but Calendar ? Memo?...)

itzik2sh said:
Hi
I'm tired of waiting for MIUI & CM7 and i freaking love Valhalla Final.
I want to make it completely localized.
I will work on Hebrew localization but i will share my knowledge with others who wish to translate it to other languages.
Can someone guide me how i can translate the system menus so it will all be localized?
I will do the work..
Thanks.
Sent from me
Click to expand...
Click to collapse
I'll be happy to assist if you need.
contact me

Hi Alon
As i explained in the last post, i'll try to base the translation on already done work.
I just decompiled the framework-res of the latest Hebrew pilotX 6 ROM of SGS i-9000.
If you have spare time, you can look into "how to decompile an APK" in the apps and MODs section of this forum and download that PilotX 6 ROM so we can have the same source. After decompiling all the system apps there, we will put them in a shared server and start decompiling the Valahalla Final to be able to work on the compatible XMLs...
Are you in ? Others ? PM me.

Why not just port that i9k ROM, it'd be a ton less work...?
Sent from my SGH-T959V using XDA App

Hi Tehgyb
Some reasons.
On my opinion, Valhalla Final is as close to perfection as GB will be on this phone.
I already successfully applied RTL and Hebrew support on it.
And I don't want to deal with ROM porting, file system and kernels, this should be simpler if i just take the relevant language xmls (from existing ROMs) and recompile without any core messing.
Don't you think?
Sent from me

itzik2sh said:
Hi Tehgyb
Some reasons.
On my opinion, Valhalla Final is as close to perfection as GB will be on this phone.
I already successfully applied RTL and Hebrew support on it.
And I don't want to deal with ROM porting, file system and kernels, this should be simpler if i just take the relevant language xmls (from existing ROMs) and recompile without any core messing.
Don't you think?
Sent from me
Click to expand...
Click to collapse
I suppose ;P I didn't take the Val part into consideration at first lol
Sent from my SGH-T959V using XDA App

So me and alon2 started a project and scheduled some work to be done to make this dream come true.
I'm inviting any others that want to join in and make a Hebrew Val.Final to contact us.
Other languages seeker will get all info we have.
Tehgyb, do you know what APKs don't need to be translated? I assume there are some APK service types with no gui...
Sent from me

Do you have any of the XML's posted anywhere?

itzik2sh said:
So me and alon2 started a project and scheduled some work to be done to make this dream come true.
I'm inviting any others that want to join in and make a Hebrew Val.Final to contact us.
Other languages seeker will get all info we have.
Tehgyb, do you know what APKs don't need to be translated? I assume there are some APK service types with no gui...
Sent from me
Click to expand...
Click to collapse
Id have to sit down and look through the apps lists, i can't list anything off the top of my head. Id help further but i don't know any languages outside english, and i don't have a computer for the moment... :X
Sent from my SGH-T959V using XDA App

I know more or less exactly how to do it. Give a week or two. Tell me what language that you want by giving me a link to any touchwiz GB translated ROM. EG, give me a link to an i9000 GB translated rom.
---------- Post added at 02:48 AM ---------- Previous post was at 02:34 AM ----------
Also, I will only be adding support to my AOSP Style. By the way, this is based on valhalla.

airfluip1 said:
I know more or less exactly how to do it. Give a week or two. Tell me what language that you want by giving me a link to any touchwiz GB translated ROM. EG, give me a link to an i9000 GB translated rom.
---------- Post added at 02:48 AM ---------- Previous post was at 02:34 AM ----------
Also, I will only be adding support to my AOSP Style. By the way, this is based on valhalla.
Click to expand...
Click to collapse
Hi Airfluip
That's great! Tell you the truth I haven't tried your ROM, I was so happy with Val...
Do you have all Valhalla's features ? Toogles, lockscreens etc. ? What did you change ?
I love Valhalla ROMs since they're always working good with framework-res Hebrew RTL tweak.
If you add Hebrew translation to your ROM that will be gr8 and I will surely test it.
I will appreciate if you also guide us what APKs and what to do, out of interest, wanting to learn and end a project we already started.
Naturally we share with you all sources to save us both time.

Update: we finished mapping all shared applications and existing translations.
Next week we will have some results and possibly leak apks.
Sent from me

Update : all apks are finished.
In wrapping stages...
Sent from me

Coming in 2 days...
Sent from me

Hi,
If you want portuguese translation, I'm available.
Just send the xml file or any other file with the english source words.
Regards,

I will send you the files on Sunday.
Sent from me

Related

[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?

[Q] EDT Tweaks and Extended Power Options for Stock KJ6?

Any one know the best way to add some mods to the stock KJ6 Build? I would like to add the EDT Tweaks and extended power options to my phone but I haven't found one that is for the Stock GB or for the KJ1 Kernel that I am running. I would also Like to add the CRT animations but when I tried the one for KJ3 it didn't work for me. Any help would be appreciated. Thanx
Check airfluips kj6 if u have CWM
It's got the crt on and off and smooth as silk..I just added tw4 to it..runs great. If someone has the EDT tweak I think that would complete what you're looking for.
Sent from my SGH-T959V using xda premium
Try installing this. I'm unsure on if you need any modifications passed root to use this, tbh
Never tried it myself ;P
Guys, well, you can't just "install" EDT Tweaks. :You have to be a rom dever. It requires decompiling of things
tehgyb said:
Try installing this. I'm unsure on if you need any modifications passed root to use this, tbh
Never tried it myself ;P
Click to expand...
Click to collapse
I would PM whitehawkx and let him know what your trying to do and he may point you in the right direction. You will at least have to modify the framework-res.apk and probably the systemUI.apk to get it to work. It's not as simple as just dumping the EDT-Tweaks.apk in your system app folder.
---------- Post added at 07:47 AM ---------- Previous post was at 07:46 AM ----------
airfluip1 said:
Guys, well, you can't just "install" EDT Tweaks. :You have to be a rom dever. It requires decompiling of things
Click to expand...
Click to collapse
Beat me to the punch. lol
I figured as much, which is why I was asking. I noticed that they were built for certain kernels and I didn't see one for KJ6.
Sent from my SGH-T959V using XDA App
htaak said:
I would PM whitehawkx and let him know what your trying to do and he may point you in the right direction.
Click to expand...
Click to collapse
I would PM whitehawkx and ask him to get back to working on Valhalla instead of their galaxy s2 rom.
Sent from my SGH-T959V using XDA App
Lol...I knew it wasn't THAT simple but airfluips ROM brings u most of the way there..lol.
Sent from my SGH-T959V using xda premium
requires modificaton of the system ui apk framework-res apk both xml and smali android policy jar framework jar both smali theres a lot of smali code that needs to be added in sorry not going to sit here and list each one lol.... its being worked on by alot of diffrent people actually lol
I've got it working sans lockscreens. I'll upload it tonight.
Sent from my SGH-T959V using Tapatalk
RaverX3X said:
requires modificaton of the system ui apk framework-res apk both xml and smali android policy jar framework jar both smali theres a lot of smali code that needs to be added in sorry not going to sit here and list each one lol.... its being worked on by alot of diffrent people actually lol
Click to expand...
Click to collapse
Thanks thats all I needed to know. I was just wondering if something similar to this was in the works
http://forum.xda-developers.com/showthread.php?t=1091890&highlight=EDT
Any luck with this?

adding tamil fonts

hi guys i want tamil font for my pico plz give some solution:crying:
Come on dude.. you know you'll have to give details.... like, which Rom you're using and etc etc...
btw, I think all stock RoMs support perfect Indian languages(you'll have to update it)...
If you're talking about custom roms ,then it's not possible fully as far as I know..
Because all Indian languages use complex scripts.. two letters to make one.. etc. Etc..
All cyanogen roms do have your language support, but you will not have proper rendering... you'll know what I mean, if you install it and see...
Some expert advice.....
use fonts in apps (tamil km,unpack it and take fonts out) and rename it to any name and put it in system/fonts
And then make the necessary changes in system/etc/fall_back fonts. xml..
Google it dude..
And even if you do all of this, you won't have proper rendering (conjuncts, grammar mistakes etc etc)...
For full rendering, you'll have to modify libskia.so and framework.jar... dev's work... anyone can become a dev now...
Try xda-university. Com
Sent from my HTC Explorer A310e using xda app-developers app
Works perfectly on jelly bean v3 Rom by bhargz for a similar language.
Will work for your language too.
Thank you
Thread closed on request
cm9 htc a310e k2.6

[REQ]Longpress back button to kill app

Hello!
I am not new to these forums.. I am a frequent reader, but I am not much of a poster.
I have a request that I think will benefit alot of galaxy tab 10.1 users running the stock roms.
Would anyone be able to /interested in modding the android.policy.jar file PhoneWindowManager.smali file to enable longpress back to kill foreground app? like the function we get in CM and AOKP roms? There is no need to have a setting for it in system settings. Just an android.policy.jar we could flash if we want the function enabled..
I have found this thread http://forum.xda-developers.com/showthread.php?t=1969499 discussing and explaining how to do this.
I have tried to do this myself, but either it just won't work or I end up in a bootloop. I am new to editing .smali files and understanding their buildup.. So I am asking here to see if anyone is willing to take a look and help me out.
My guess is that I am not the only one who wants this in the stock rom, and I hope that someone is willing to do this to the benefit of not only me but everyone else running the stock ICS and JB roms missing this function.
I am running the "something" JB stock rom by smaw51 with the extended power menu. I will add a link to my android.policy.jar if anyone wants to take a look at it.. If not edit it, maybe explain what strings to change in the .smali file in order to get it working. I know we will probably need a custom .smali with the kill function aswell if the one in this thread won't work...
Download android.policy.jar
Kind regards
Michael
up for this =)
lampz said:
up for this =)
Click to expand...
Click to collapse
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
MichaelGroth said:
I have been in contact through PM's with tdunham... the author of this thread: http://forum.xda-developers.com/showthread.php?t=1971712 and he has agreed to take a look at our android.policy.jar
I will get back with whatever he comes up with
Click to expand...
Click to collapse
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Would really appreciate this function!
MichaelGroth said:
I finally got this working after numerous edits and tests, and with lots of help from Mirko ddd, tdunham and lyapota.
Does anyone want me to post a tutorial on how to do this?
Will require some modification to the android.policy.jar file.
Might require decompiling and getting a string from framework-res.apk values/public.xml
(Optional) in order to get a toast message saying "Application Killed." we will need to edit some strings in framework-res.apk values/strings.xml and recompiling framework-res.apk using APKTool or Virtuous Ten Studio. If we don't change this we still do get a toast, but it will then say "force app to close", wich (in my opinion) didn't look very stock.
Also, I have only tested this on JB, but it might be very similar for ICS.
Click to expand...
Click to collapse
Can u post your modded android.policy.jar file
txtmikhail said:
Can u post your modded android.policy.jar file
Click to expand...
Click to collapse
It might not work for your device.. Mine is for 4.1.1 [JB] 8010..
Tutorial is live..
Go here: http://forum.xda-developers.com/showthread.php?p=36102714

[Q] Adding locale pack to stock rom from other stock rom

Hi.
I'd like to add language packs from a stock samsung rom to another samsung rom.
For example take all the languages from EU SGSII LTE and add them to SGSII LTE Skyrocket?
Is there some script or program or a non-time-consuming solution if all the apps (except for carrier bloat) ar the same?
bump?
¡Ԁwnq
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
jd1639 said:
Add the apk to the app directory in the rom. Just extract the two roms with 7zip and copy it from the rom it's in into the rom you want it in. Zip it up and flash it. Look for system/app.
Edit, if you really meant stock and not from zip's, You're on your own
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
Zip's are fine, but i've tried doing what you said, som time ago, and ended up with a bootloop. Thanks for the effort
Jack_R1 said:
Deodex stock ROM.
Decompile the framework resources (system/framework/*.apk) and all the stock apps (/system/app/*.apk) from source and target builds.
Copy over all the language files (under eack APK at /res/values-*) to the target build.
Recompile all the framework resources and apps.
You can do it all app-by-app, if you want.
Lots of work.
ROM will grow significantly.
Can't be done without de+recompiling - language resources are XML.
Click to expand...
Click to collapse
Yes that's what I thought. Do you know if I have to add language entries to the language chooser menu or will they pop up automatically?
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Jack_R1 said:
Don't know the answer to that one... Sorry. I'd be interested to know that too.
Click to expand...
Click to collapse
I found some info on this problem:
http://forum.xda-developers.com/showthread.php?t=1924043
http://forum.xda-developers.com/showthread.php?t=1564694&highlight=tool
Lol sometimes it's easier to search by making a new thread and look what similar threads pop up
EDIT:
After some searching on the topic of adding languages to roms, batch decompiling of apk's etc i've found lots of useful info. I'll report back when i have anything to show...

Categories

Resources