[OFFICIAL] ROM Manager Translation Thread - Sony Ericsson XPERIA X10 Mini

Im not more on this

Please add a file version and a changelog, or add new lines on the bottom of the file.
Its not easy to translate without having to compare both versions. That can really mess up the files.
And at this moment, I can visit this thread, but I have no idea if there is something new to translate or not. This method needs to be reviewed.
Thanks!

what's difference between 5.2 and 5.3b2?
I could not find difference, both strings.xml is 116 lines.

Related

[PATCH CENTRAL] The How-To and Help Thread for kernel patches

Hi guys, a couple days ago, i spent hours sifting through pages of google searches to find the EASIEST stuff about kernel patches. This guide will be updated slowly, be patient! I welcome the help and input from the community, please feel free to pm me (to make sure i get the message ). Let me start off by saying that I will not be able to fix all the problems that you get from patching, but i have no doubt that someone in this awesome community can. So enjoy!
Patching your linux kernel!
Alright guys, i am gonna cover INCREMENTAL patches, these are fairly easy and won't take much of your time. If you plan on doing a more major update, i.e. 2.x --> 3.x, i suggest you go elsewhere because this guide WILL NOT help you.
Another important note, all 3.x updates are incrimental, you cannot skip a patch. Meaning, if i want to patch a 3.0.58 kernel to 3.0.60, i have to patch .58->.59 and then .59->.60. That took me a while to figure out which is why i brought it up early .
LETS GET STARTED!
First, get a nice kernel, one that you know compiles correctly and works, for the most part. Check the makefile, it should be in the root of the directory. Open up the makefile, in my kernel, i see this:
Code:
VERSION = 3
PATCHLEVEL = 0
SUBLEVEL = 63
Ok, it looks like we have a kernel source that's on 3.0.63. Awesome, this should be simple enough. We need 2 patches, one to go up to .64 and the next to .65.
Go HERE and download the .bz2 of what you need. In this case, i am going to download patch-3.0.63-64.bz2 and patch-3.0.64-65.bz2. You'll need to "save link as" to download the files or you can you the lftp command in terminal if you know how to use that. Anyway.
Here is where the terminal fun starts, lets unpack those files so we have the patches. CD into wherever you downloaded the files and run
Code:
bzip2 -dv insertpatchname.bz2
Obviously, you change insertpatchname to your file name. You run that for as many patches you need to do.
Good, now we have the patches. Linux loves us and made it really simple to apply those patches. All you have to do is
Code:
patch -p1 > ~/path/to/the/patch
If you did it right, give you a wall of text telling you that its patching files. NICELY DONE. If you want to confirm that the patch was sucessful, go back to you makefile, you should see that your sublevel is higher. For each additional patch, just repeat the last two steps!
As always, i can't guarantee that these patches won't break compatibility but thats when the fun starts, right?
Wow, nice, you just patched your very own kernel! In the next post, we'll learn how to do the same thing, but instead, we'll cherry-pick those commits from github. PM and Post for any comments, questions, blah, blah. As always, donations are not required but they'll be paying for a new processor to replace my 1.6ghz single core crap. Thanks are appreciated!
Reserved for Github Stuff
I want this one!
Nice, just what I was looking for! Tnx
wantowan2 said:
Nice, just what I was looking for! Tnx
Click to expand...
Click to collapse
No problem, i am happy it was helpful!
Ques:
Say I put the patch in the top of the kernel dir and I cd to the kernel dir, should this work?
Code:
patch -p1 > ~/patch-3.0.49-50
That will work as long as the patch is in ~/

[HELP]Translate Foreign Game (values attached)

So, yeah...
I'm surfin out on the chinese market, and they recently released this game Rushing Alice, which arrived first on iPhone, to our phone...
Now I want to translate this one, since its full of dang chinese letters and stuff, and I searched through the web (and also XDA) on how to translate apks and stuff, and they taught me to go to /res/values folder, and basically edit these XMLs:
• Strings.xml (Most common)
• Arrays.xml
• Plurals.xml
But when I opened the /res/values folder, the string.xml only has a few strings to translate (which obviously means its NOT the only one I have to translate)...
I uploaded the whole values folder here, if you wanna check it out...
If you want, I can post an uploaded link for the decompiled APK which I made (if that's even legal, MODs please tell me so..) for you to check it out also...
But getting back to the problem, where the heck are the files needed to be translated? Are there other directories/files that are possible to be translated besides the famous /res/values? Some enlighten

[APK][Xposed] resOverloader - Overload applications res files

Hello 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.
reserved
Thanks all for praising my work. Here is my translation utility which can help you translate any xml file with auto fixing of literals and escapes within source text.
How it works!
The first step is, hand your xml file (strings.xml). Read OP
Run XML_translator.exe and select the file to translate. (language selectors are not working now and hardcoded to CN->EN)
Click Start translating.
The utility will take time and depends on source file length. At the end you will see strings-new.xml file. Rename it to strings.xml and use it with resOverloader.
I would soon remove the hardcoded part to enable multilingual translations.
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.
nqk said:
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.
Click to expand...
Click to collapse
OP could add localized string switching by checking filename suffix against Locale.getDefault().getLanguage(). So if you wanted to add multiple languages to an app, you'd just need strings-en.xml, strings-it.xml, etc etc
Yay , now yunpan/tencent/baidu drive shall all become translated
I was thinking about it latest two weeks and someone made it! Impressive!
nice work.. i'm waiting the translate strings tool..
This is really impressive.
Thank you very much for you work m8.
I'm on stock N4, and can't get this module to work. I decompiled and translated strings.xml, but there's no change in app. Should be translated strings.xml compiled back, before putting it to sdcard?
Great module, thx for your work. Also very interested in your translation tool. Also been thinking a lot about how to automate APK translation but to no avail.
Some features that i was thinking that can be added BUT not sure if they can be implemented:
- Load list of installed apps via GUI;
- Decompile the apk and extract the strings to a full app name folder (No idea if apk can be decompile from within an app)
- Tell user to edit the strings.xml
- Check if strings.xml was edited and in case it was prompt for reboot.
joluke said:
Some features that i was thinking that can be added BUT not sure if they can be implemented:
- Load list of installed apps via GUI;
- Decompile the apk and extract the strings to a full app name folder (No idea if apk can be decompile from within an app)
- Tell user to edit the strings.xml
- Check if strings.xml was edited and in case it was prompt for reboot.
Click to expand...
Click to collapse
I'm new and still learning android development. Im planning to integrate translating utility inside this app and would allow users to translate any app on the fly on the device.
geekon said:
I'm on stock N4, and can't get this module to work. I decompiled and translated strings.xml, but there's no change in app. Should be translated strings.xml compiled back, before putting it to sdcard?
Click to expand...
Click to collapse
make sure, you have copied translated xml in resOverloader\[your app full name]\strings.xml in internal memory (sdcard).
Bug: translated apps show an escaping slash-chars.
Can you add a possibility:
- to download and update of translation resources from github for all installed apps? In such case you should only define a resource location URL.
- for localization of res/layout/*.xml & res/xml/*.xml & etc
Is there a opportunity to use also preferences.xml?
babuilyas said:
make sure, you have copied translated xml in resOverloader\[your app full name]\strings.xml in internal memory (sdcard).
Click to expand...
Click to collapse
I tried with 4 apps, the results are as follows:
- AppSetting (xposed module): OK
- Nova Launcher: Partially OK, many strings remain in English
- Omniswitch (OmniRom): Not working (all texts are still in English)
- Transdroid: OK
:highfive:
nqk said:
I tried with 4 apps, the results are as follows:
- AppSetting (xposed module): OK
- Nova Launcher: Partially OK, many strings remain in English
- Omniswitch (OmniRom): Not working (all texts are still in English)
- Transdroid: OK
:highfive:
Click to expand...
Click to collapse
Share Xposed log and thanks for testing this app.
I saw the log, but didn't find any FC. See if there is anything in translated xml.
Benko111 said:
Great module, thx for your work. Also very interested in your translation tool. Also been thinking a lot about how to automate APK translation but to no avail.
Click to expand...
Click to collapse
i have some more ideas, so i will fork your module and add my ideas.
babuilyas said:
Share Xposed log.
Click to expand...
Click to collapse
Please have a look
https://m.app.box.com/view/f_16953900439
Sent from my Nexus 4
Very pleased.. Share it with all..
Sent from my LG-GEEB using Tapatalk

Easy2Prog

Hello,
I would like to inform you that I'm rebuilding Easy2Prog who was available for PPC (Windows Mobile) and made by me (sitajony, I've just changed my username).
This application can run a script language called "E2P" directly on your Smartphone (Android, Windows Phone and iOS), for now I prefere to work on Android...
With this application you'll can do anything without knowledges, it can be used by ROM developers to build some tweaks or settings or other...
You can also make any application in any language (French, English, Russian ...), the applications can be wrote directly on the smartphone with a simple text editor or with my dedicated script editor.
My question is : Someone is interested ? And if he want, who want to be an alpha/beta tester ?
Thank you.
An alpha version is now available, it's just a test, if everything is ok (No crash ...).
Site : www[dot]easy2soft[dot]com
Zip (for test only) : www[dot]easy2prog[dot]com/downloads/easy2prog.zip
My favorites examples are :
- Serveur.e2p who can create a "web server" (in typing (Your ip):8086/ it just show an image when the server is started)
- net.e2p : It download an example (in E2P) from my web site and run it
To run an exemple select the e2p files
To edit scripts, open the e2psource files from Easy2Prog editor (in the zip)
Thank you for your help.
Forum
A forum is now available for Easy2Prog on the web site, if you have troubles with this alpha version you can report it on this forum...
Thank you for your contributions.
Already 1 tester, he's realy good but I need some others testers ...
With this project you'll can create your own applications without PC and fastly, it'll could be used for custom rom and any other project type...
Thank you for your help.
It's increasingly resulted, maybe I'll build a beta version who'll be downloadable by everyone in few days.
But I need some others alpha testers before...
Anyone can test this project ?
A first beta version will be available soon, We just have to finish the designer mode and add some graphics functions and anyone will can test without be registered in the website.
If you want test and make this project better before the first beta version you can help us in registering on the website's forum.
Thank you
PS : Only french functions are available for the moment, sorry ...

Need help to check something suspicious in my rom

Hello,
I'm using a HTC One m7 currently running the now defunct Cyanogenmod rom, dl from them: version 12.1-20160325-nightly-m7
On this build, when browsing non-ssl website, a script tag is added at the end of the head block (most of the time):
Code:
<script src="http : / / softwarebundles . com/js/in.js"></script>
(I add to break the link to post it here (forum restrictions))
This js script seams to replace the src of some specific iframe, it seams ads related.
I have the same result in the default browser, chrome and firefox.
- Can a app be responsible for it ?
- If you are still using a cyanogenmod rom, can you check the source of some non-ssl website ?
- anything I could check ?
Thank you.

Categories

Resources