Translating another program
Translating another program
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
Thanks
Nubcake
Re: Translating another program
Where can we download the program to see?
We might be able to give some advice then.
We might be able to give some advice then.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: Translating another program
Edit: Here is the link to the program http://www.mediafire.com/download/ss2n9 ... ngling.exePB wrote:Where can we download the program to see?
We might be able to give some advice then.
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
> it has come up with 27/47 detection ratio
Ew, no thanks.
Maybe a different hex editor would work?
Ew, no thanks.

Maybe a different hex editor would work?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: Translating another program
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...PB wrote:> it has come up with 27/47 detection ratio
Ew, no thanks.
Maybe a different hex editor would work?
Re: Translating another program
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/
http://www.resedit.net/
It might be able to let you edit the strings.
[Edit] Also this: http://melander.dk/reseditor/
Last edited by PB on Sat Dec 21, 2013 5:55 pm, edited 1 time in total.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
Re: Translating another program
This looks quite promising , thanks PB.PB wrote:Maybe you need a resource editor like this:
http://www.resedit.net/
It might be able to let you edit the strings.
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Translating another program
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!
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!
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Translating another program
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?
Last edited by Nubcake on Sat Dec 21, 2013 7:06 pm, edited 1 time in total.
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Translating another program
It might be possible to ask the developer to compile an English version. I'll get my Chinese daughter to investigate 

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Translating another program
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 

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Translating another program
There is, but it's complicated.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?
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.