Page 1 of 1

Translating another program

Posted: Sat Dec 21, 2013 4:58 pm
by Nubcake
I've come across a program where everything is written in chinese , I was wondering how would I go about changing all the the strings to english? I mean usually if I wanted to do something like this I would use a hex editor but the one I have won't work for something like this. Can anyone provide some methods to do this?

Thanks
Nubcake

Re: Translating another program

Posted: Sat Dec 21, 2013 5:10 pm
by PB
Where can we download the program to see?
We might be able to give some advice then.

Re: Translating another program

Posted: Sat Dec 21, 2013 5:13 pm
by Nubcake
PB wrote:Where can we download the program to see?
We might be able to give some advice then.
Edit: Here is the link to the program http://www.mediafire.com/download/ss2n9 ... ngling.exe
Just so you know I have scanned this using VirusTotal and it has come up with 27/47 detection ratio so don't open it if you don't want to.

Re: Translating another program

Posted: Sat Dec 21, 2013 5:32 pm
by PB
> it has come up with 27/47 detection ratio

Ew, no thanks. :(

Maybe a different hex editor would work?

Re: Translating another program

Posted: Sat Dec 21, 2013 5:34 pm
by Nubcake
PB wrote:> it has come up with 27/47 detection ratio

Ew, no thanks. :(

Maybe a different hex editor would work?
That's the thing , I don't know what hex editor to use , I found one called PSPad editor but I'm pretty clueless how to use it to change the strings , don't really know whether it;s UTF-16 / 32 etc...

Re: Translating another program

Posted: Sat Dec 21, 2013 5:52 pm
by PB
Maybe you need a resource editor like this:

http://www.resedit.net/

It might be able to let you edit the strings.

[Edit] Also this: http://melander.dk/reseditor/

Re: Translating another program

Posted: Sat Dec 21, 2013 5:53 pm
by Nubcake
PB wrote:Maybe you need a resource editor like this:

http://www.resedit.net/

It might be able to let you edit the strings.
This looks quite promising , thanks PB.

Re: Translating another program

Posted: Sat Dec 21, 2013 6:38 pm
by IdeasVacuum
More info about the app
http://www.youtube.com/watch?v=NQ71tuBNZ8s
http://www.youtube.com/watch?v=mk9qFl3FeCg
English Guide:
http://www.anonymous.vn/network/2013/11 ... -download/

I don't fancy your chances of editing the exe - the English strings are always going be much longer than the Chinese Strings.

Edit: Also, keep an eye on it - when the app is exited, it's process is still running, very suspicious!

Re: Translating another program

Posted: Sat Dec 21, 2013 7:03 pm
by Nubcake
Yeah I had some idea that during translation some strings would be longer and when I save it would overwrite with the new string and not work. Is there any way to overcome this?

Re: Translating another program

Posted: Sat Dec 21, 2013 7:05 pm
by IdeasVacuum
It might be possible to ask the developer to compile an English version. I'll get my Chinese daughter to investigate :)

Re: Translating another program

Posted: Sun Dec 22, 2013 5:15 pm
by IdeasVacuum
The developers have got back to us - they intend to release an international version soon, but can't give a precise date at the moment :)

Re: Translating another program

Posted: Mon Jan 06, 2014 12:01 pm
by Thorium
Nubcake wrote:Yeah I had some idea that during translation some strings would be longer and when I save it would overwrite with the new string and not work. Is there any way to overcome this?
There is, but it's complicated.
If the strings are referenced with fixed addresses you can add a new section the the PE file (exe) and put your english strings in there. Now you need to change all references to the chinese strings to your strings. That requires knowlege about the PE format and disassembling, to find and change all instructions that reference the strings.

I did this once for a game, but i changed only a few strings. It's a lot work for a whole app. And it may not work in all cases. It's not allways clear if a instruction references address or just a number that happens to be the same as the string address but has no relation to it.