Sorry to say,that,after enabling this module, i (mt6589 chipset, aosp/stock4.2.2) get something near to bootlop, it takes 10 mins to boot!!! After completed booting it automatically hangs and restart within few mins. I just have enabled this module,i dont modified any strings though!! Plz fix this issueHello community,
I'm very glad to share my first trial of development which ran successfully for me and hope this will be useful for the rest.
I'm a big fan of a few chinese apps (baidu cloud, weiyun). Previously I was able to decompose and translate these apks to english until vendors injected apk signature validations into their apps. I even used these apps in foreign language but the experience were annoying. So I decided to translate these apps with some development. Eventually I came across resXploit by WisdomSky which give me a clue and I started this and it works :good:.
Basically resOverloader overloads strings.xml file for any apk (application). Source code is hosted on github for other devs to incorporate other resources as well. I'm not experienced dev and sharing this here for others and further development.
How to setup
- Extract strings.xml from your target apk using apktool. read more
- Translate strings.xml to your language. (I had developed a tool for it and would share it later)
- Now create resOverloader folder in sdcard.
- Find your app full qualified name in applications under settings and create a folder with app full name. (eg. com.baidu.netdisk)
- Now copy the translated strings.xml to app folder inside resOverloader.
- Restart your phone and it is done.
Hope this will help starters and requesting experience devs to add arrays.xml to this.
Github: https://github.com/babuilyas/resOverloader
Change log:
2.0 : rebuilt with targetSDK 14 and it should work for 2.2+ now. pls confirm.
Thank you for reading... Cheers.
pls share logcat and xposed log. I don't expect this behaviour due to it.Sorry to say,that,after enabling this module, i (mt6589 chipset, aosp/stock4.2.2) get something near to bootlop, it takes 10 mins to boot!!! After completed booting it automatically hangs and restart within few mins. I just have enabled this module,i dont modified any strings though!! Plz fix this issue
I tried and compiled it with lower target sdk and you reported it does't work on GB. the sources are on github, and i would suggests rebuilt it for your device. this requires little efforts. I had hdd crash and lost much of my data.Bro, My phone has Xposed GB framework installed. I downloaded resOverloader v2.0 and tried to install it. But It said, "There is an error while parsing the application". Pls help me.
Sorry to say,that,after enabling this module, i (mt6589 chipset, aosp/stock4.2.2) get something near to bootlop, it takes 10 mins to boot!!! After completed booting it automatically hangs and restart within few mins. I just have enabled this module,i dont modified any strings though!! Plz fix this issue
<string name="foo">"This is a cool message."</string>
@babuilyas: Thank you for the great app and for publishing it under a free and open source license!
I have a request for assistance, but first, some boring background info and whatnot. As we all know, Android is multi-lingual and definitely speaks my native language, Finnish, but in an ironic twist of fate, Nokia's fork of it ("Nokia X software platform") mostly does not. Some apps (Store, Swype keyboard) have bits and pieces of Finnish left in, but it's fair to say that the Nokia X family of devices just do not support Finnish out-of-the-box.
I had installed MoreLocale 2 earlier on to test out some third-party apps' Finnish translations and potentially to improve them. Later on I rooted the device with Framaroot, installed Xposed Framework and resOverloader. Translating stuff -- and pulling in some translations from Google's official strings.xml files for each system app -- took a fair while, but today the project was in a decent shape so I finally decided to try it out.
Great success? Not quite, I'm afraid. After fiddling a bit with MoreLocale 2 -- I had to switch the system language from Finnish to something else and then back to Finnish to refresh caches or something -- the Launcher UI is mostly translated; the "Search" bar on the main Launcher menu as well as Fastlane aren't, for some reason, although I know there are corresponding translations in the relevant strings.xml files. Email app seems to be fully using the translations, whereasPhone or People, let alone Settings, aren't. Likewise the pulldown menu isn't translated (it's probably a part of Settings or SystemUI, can't remember which one).
UPDATE: So there's some sorta weird caching going on in here. After visiting Phone for the second time, the initial menu showed correctly translated strings, but in the settings menu "Turn on proximity sensor" and whatnot are still in English, despite that I've translated those into Finnish in the strings.xml file that resOverloader should load/loads. Settings doesn't display anything in Finnish, though. The Camera app is also buggy in that it displays the option names in Finnish, but options like "Level 5" or "Internal storage" are displayed in English
Also, when are "double quotes" appropriate in a strings.xml file? Google's official translations wrap like all strings in those, like this:
Code:<string name="foo">"This is a cool message."</string>
But it seems that the Nokia X -- or at least its Store app -- doesn't like that and the "double quotes" are displayed, too, in addition to the message.
I can post Xposed logs if necessary, although there's nothing exciting going on in there -- just a bunch of "resOverloader found app <app name>" lines for the most part. Likewise I'm more than happy to publish my translations on GitHub -- I just wanted to beta test them first and fix the most obvious, glaring typos before publishing.
Thanks Jack Phoenix for thorough testing resOverloader for wide range of system apps and settings. I haven't test it on settings nor system apks yet as I was very focused to translate chinese apks to english. It actually replaces apk's string.xml content with your content and sometimes when the target apk logic/process is dependent upon content of res' string.xml then we get undefined errors and FC. So when you get unexpected error in any apk try to see logcat and remove the target resource key from your string.xml.
As it works based on xposed framework, so i dont exactly how it manages cache of thousands of overloads and ofcourse thousands of lines for several apks may to lead to caching issues... Thanks again.
The attached .txt file contains "adb logcat" output. It's totally unfiltered and as such, almost 10k lines long. There are 31 matches for "Xposed" and 11 matches for "resOverloader".
After posting my previous message, I googled for instructions on how to wipe Dalvik cache (and unsurprisingly enough, ended back on XDA ) and did that; interestingly enough it didn't help, but rather it removed a few translations. Strange.
As for Settings, the app name in Launcher is translated, and a few other components/screens seem to be, namely:
- Settings > Feedback to Nokia (package name com.nokia.feedbacktonokia)
- Settings > About phone > Status (the screen which contains the device's baseband version, uptime, etc.)
- Settings > About phone > System updates (package name com.nokia.update)
- Settings > Mobile data and networks
- Settings > Dual SIM
As mentioned in my previous post, some apps seem to randomly be using the strings provided by resOverloader, i.e. sometimes they use those strings and sometimes not. Phone and Contacts are totally in English after a reboot, whereas Messaging is always in Finnish (well, save for the three options -- "Always", "Only when silent" and "Never" -- in the Settings menu, under "Vibrate").
Any and all ideas, suggestions and thoughts are very much welcome, as I'd rather not give up on the idea of Finnish Nokia X just yet, given how close to completition the project is. :good:
UPDATE: I went to Settings > Apps > Manage apps > All, chose an individual app (like "Email") to bring up the "App info" screen and pressed "Clear data". This is probably a radical measure -- too radical if this phone were my daily driver -- but since this phone is essentially empty, save for a few (FOSS) custom apps, resOverloader strings (which are backed up on my computer, too) and some screenshots, I was able to do that. Purging the caches this way made the Launcher, People/Contacts and Email show up in Finnish -- especially funny for Launcher, because I don't recall purging its cache, but rather that of a different app. Phone's main screen shows up in Finnish, but Call settings window doesn't. And, ah, Settings itself is a pesky one...
Hi all, I'm not here often but I read everything carefully to understand it. Thank you all for sharing your knowledge
I also like Chinese cloud services, I have translated apps of 360yunpan and Tencent Weiyun. Not Baidu cloud.
I have a problem with translating the BaiduYun_7.5.0.apk. What I've done I will tell below.
1) First resOverloader 2.0.apk installed on my rooted Sony Xperia Z Ultra 4.4.4.
2) ResOverloader folder created on my sd card and not the internal memory (also tried in the internal memory but also did not work)
3) with android multitool the apk file decompiled.
4) I've found the strings.xml file and translated it into English with XML_Translater.
5) The new strings.xml file copied to resOverloader/com.baidu.netdisk.
6) Phone restarted.
7) Run the Baidu app and it diddent translated anything
Can anyone help me? What did i do wrong?
Hello friends, ResOverloader module developer has commented that need help to implement the use of arrays.xml , plurals.xml, etc... Currently the module only accepts the strings.xml file.
There is a module that is based on ResOverloader and allows all this!, however, also includes the Russian translation of the system, because it is thought to translate from Chinese to Russian MIUI ROM's .
I tried the DV_Translate1.1_SK module in a stock rom, and it worked perfectly translating an application using arrays.xml and strings.xml modified.
Therefore , I ask for the help of an advanced developer to help us port these characteristics for ResOverloader module or mod DV_Translate, but not including the Russian translation . This would be helpful for all the community, for the easy translation of applications that are not in the native language without decompile it and break signature validations.
How to setup:
ResOverloader:
Extract strings.xml from your target apk using apktool.
Translate strings.xml to your language.
Now create "resOverloader" folder in sdcard.
Find your app full qualified name in applications under settings and create a folder with app full name. (eg. com.baidu.netdisk)
Now copy the translated strings.xml to app folder inside resOverloader.
Restart your phone and it is done.
Github: https://github.com/babuilyas/resOverloader
Download resOverloader_2.0.apk: http://goo.gl/BwZNV6
DV_Translate:
Extract strings.xml, arrays.xml, etc... from your target apk using apktool.
Translate strings.xml, arrays.xml, etc..., to your language.
Now create "dv_translate" folder in sdcard.
Find your app full qualified name in applications under settings and create a folder with app full name. (eg. com.baidu.netdisk)
Now copy the translated strings.xml, arrays.xml, etc..., to app folder inside dv_translate.
Restart your phone and it is done.
Github: https://github.com/DiffeR777/DV_Translate
Download DV_Translate1.1_SK.apk: http://goo.gl/37Ba8S
Thanks everyone. I´m not developer
@babuilyas
It will be great, if you upload your module to Xposed Module Repository
Thank you
Sent from my tablet. Odoslané z môjho tabletu.
Thank you very much.
I made a request for this feature in the request thread sometime back, but no developer was interested. . I will try it now and report back.
Edit: IT WORKS. My translated texts show up.
However, I would like only to see the translated texts when the system language is switched to that language only. So I could see original English texts when the system language is set to English.