www.chinaphonearena.com

Full Version: Translation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I've got this phone now for one week.

First it was with 5.0.2 COMMON V1.1 (multilanguage). Then I have managed to flash the v2.4 multi language ROM. I use mainly French.

As far I see, I still get many fields in English.
As I have already made some stuff with my Pipo M8HD Tablet, I have search a tool to add easily the missing translation.

I found it (old Tools) but with some changes now it works. I have a new SoundRecorder App all in french on my phone.

Of course I will share my work more in details in the following days.
  • mainly you need first to be rooted, then with Es explorer copy the system App you want on your PC.
  • The Tools will then show all the current translations for your language, with a dictionnary that contains all translations of AOSP App, you can get the missing one if they are on the dictionnary, if not you can edit them and add your translations.
  • When you are done, save the translation to the dictionary and rebuild the new APP, this APP can be then pushed to the phone or I think I can make a zip flie to be flashed through TWRP.

The good stuff is, if we do the staff for the last multilanguage ROM, we will have the bases for a CN/EN only ROM. No need to add all translations these translations are in the dictionary they will be added on one click to the new App, then we aill have only some few missing one.

So if people are interrested , respond to this thread.
This is a very interesting project. Hope other people who want other languages will reply to join.
I`m also interested
I'm interested to cooperate for the italian translation.
Ok, my Tool is almost ready.

I have also tested installation with a zip through TWRP, it's working well.

I will try to publish today or tomorrow.
OK, here is it : [Only registered and activated users can see links Click here to register]

So this tool is apkTranslationWizard by Esvignolo that I have updated.

You have to put framework-res.apk and all your app (apk files from system/app or system/priv-app) you want to translate to the directory place-apk-here-for-modding.

Then in the Decode Tab, you directly check the app you want to decode.
Then go to the Translations Tab.

Load the dictionnary you want (Fr, En ...) by clickling on Load Dict
Then Click on button Learn from XML, this will read all the strings from the apks and the translations that are in these apks.

In yellow, you will see the missing translations. You can translate directly with the Button Gtranslate or make your own translation.

When you are done , save your translation to the dictonary with the button Add Translations and save the dictionnary with Save Dict.

finaly write the translations to files with the button WRITE XML

Then you recompile the app. Go to the Encode TAB

Check the apk you want and click on Encode button, no need to check Sign the apk for system app.

The new app will be in the directory : compiled

If you have some problems while compiling, you can get the APK-Multi-Tool-WIP-2.0 software, it uses the sames components but with logs and can help.

The button Make Update.zip is not working for the moment.

I give you a sample update.zip here : [Only registered and activated users can see links Click here to register]

Unzip it to for example stevejc_Test directory.

you have to add your new files in the directory :
stevejc_Test\system\app
or
stevejc_Test\system\priv-app

In fact INNOS add a sub directory for each apk with the name of the apk.

Then you have to update the file stevejc_Test\META-INF\com\google\android\updater-script with Notepad++

check the line :
Code:
set_perm(1000, 1000, 0644, "/system/priv-app/SystemUI/SystemUI.apk");

and update it or add lines for your files.

Then open the old zip files with 7zip, delete all the files in the archives within 7zip and re add all the files of the steveJC_Test directory.

finaly flash it with TWRP to your phone.