2

I'm trying to edit a Japanese Configuration executable using Resource Hacker and I just want to translate the UI stuff to English. There are also a few English text that I was able to find and successfully edit.

My problem is that before the hex editor can properly display Kanji, I need a table for it (.tbl).

Google only leads me to translating Japanese NES games which doesn't apply to what I'm trying to do.

Also, the Japanese characters on the UI of the .exe file I'm trying to edit even if I have already installed the Japanese Language Pack -- I still need to set the Region > Format to Japan before the characters are properly displayed.

I really hope someone can help me with this. :-/

  • " the Japanese characters on the UI of the .exe file " <- I think you accidentally a verb. – Igor Skochinsky Mar 14 '17 at 14:45
  • What hex editor are you using? – Igor Skochinsky Mar 14 '17 at 18:46
1

Windows executables can have text in one of two formats:

  1. UI resources. These are stored in a special format in the .rsrc section and include things like strings, menus, dialogs and some others. Text in them is usually present in Unicode (UTF-16) encoding. Resources can be decompiled and edited by tools such as resource editors and easily replaced, usually without affecting functionality of the application.

  2. Hardcoded strings. Unfortunately, many developers do not think of or care about localization and put various text strings directly into the code. These end up in the binary's .text or .rdata section and are represented by byte sequences in whatever codepage the developer used (in case of Japanese it's usually Shift-JIS). To translate such strings it is necessary to find them in the binary and either patch them in-place (if it can be done without running out of space), or (especially when there's not enough space) put the translated text somewhere else (e.g. in a new section or in the slack space of an existing section) and fix up all instructions and pointers pointing to the original string.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.