[Galaxy Y GT-S5360 Android Development] CarlDeanCatabay:
TRANSLATING HYPERION
​

TOOLS YOU NEED:

Any apk tool for decompiling and recompiling like APK Tools, APK Manager and APK Changer Alpha 11 - APK Manager and APK Changer Alpha 11 are the one I'm using. Take note, it's alpha 11, not the latest version of APK Changer.

Notepad++ - a GNU editor you can download from HERE

WHERE TO GET THEM:

APK Multitool - http://apkmultitool.com

APK Changer - http://xdaforums.com/showthread.php?t=1189971

APK Tools - I don't know where to get it. Ask dear Google.
​

HOW TO SETUP YOUR TOOLS:

I advice you use APK Changer as it has an automated setup where you can configure this tool as you install it.

Follow the installation/setup steps for the tool of you choice

After that look for C:\Users\<User>\apktool\framework folder. Ex: C:\Users\Carl\apktool\framework

Take framework-res.apk and rename it to 1.apk

Take twframework-res.apk and rename it to 2.apk

Copy 1.apk and 2.apk to C:\Users\<User>\apktool\framework

HOW TO TRANSLATE

PREPARE APKS

In this example, we will modify Settings.apk and translate it to Spanish language.

Take Settings.apk from stock ROM that supports Spanish and rename it to Settings-ES. If your language is not Spanish, then of course you need to take Settings.apk from stock rom for you region which support your language.

Take Settings.apk from Hyperion. You don't need to rename it. Leave it as it is.

DECOMPILE APKS

Once you have all the needed APKS for modding, place it inside the folder designated by the tool you're using for decompiling. In this example I am using APK Changer, so I will put Settings.apk and Settings-ES.apk to C:\Apk-Changer_alpha11\place-files-here-for-modding folder

Open your tool, in this case it is APK Changer. If you installed this already prior to preparing APKS, then you should have the main menu where you have the option to decompile/compile.

Decompile both Settings-ES.apk and Settings.apk

TRANSLATE/ADD ADDITIONAL LANGUAGE TO APK

After decompiling apk, look for the "values" folder inside the decompiled APK. In this case I use APK Changer so I will navigate to C:\Apk-Changer_alpha11\out\Settings\res

You should to the same for Settings-ES and open it in another folder so you can view both folders side-by-side

You can simply take "values-es" folder from Settings.apk and copy it to Settings\res

After copying folder, open Settings\res\strings and add the values present in Settings.apk's res\values\strings.xml to "values-es" folder.

After that, compile your APK and now you have a translated version of APK.

Do this for every app you want to be translated.

OF COURSE MOST OF US ARE LAZY AND ONLY KIND ENOUGH TO TRANSLATE, SO I'LL POST HERE THE FILES YOU NEED TO EDIT AND TRANSLATE AND IF I HAVE TIME AND I AM NOT FEELING LIKE A LAZY MONKEY, I WILL BE THE ONE TO COMPILE THE APK FOR YOU.
​

NOTE:

Only strings.xml and arrays.xml values needs translation. You only need to translate values inside

<string name="[COLOR=Red][B]alert_mesage_recipients[/B][/COLOR]">[COLOR=SeaGreen][B]Alert message recipients[/B][/COLOR]</string>
<string name="[COLOR=Red][B]text_you_should_not_translate[/B][/COLOR]">[COLOR=SeaGreen][B]Text you should translate[/B][/COLOR]</string>

Example:

<string name="alert_mesage_recipients">Alert message recipients</string>

You will translate "Alert message recipients"

You should NOT translate "alert_mesage_recipients"

Translated example:

<string name="alert_mesage_recipients">Alerta destinatarios del mensaje</string>
​

GET FILES HERE

SETTINGS.APK
​