How does online language switching work?
- From: Wolfram Roesler <wr@xxxxxxx>
- Date: Tue, 31 Jul 2007 16:09:06 +0000 (UTC)
Hello,
I heard of an internationalization utility called "Rapid Translation"
which hooks into an MFC program and instantly allows all strings
that are displayed from resources (dialogs, menues etc.) to be
translated into a different language. Languages can be switched
at runtime, after which all strings the program loads from its
resource will instantly display in the new language. This is
accomplished by a simple function call in the program's InitInstance
function - no further source code modification is required.
Later versions of the tool even work without any modification
to the source code (by hooking into a finished .exe).
My question is, how does this language switching work? I looked
around but didn't find a way to intercept resource file loading
the way this tool does. Is there a Windows hook or some undocumented
MFC functionality that makes this possible? I'm asking because I
need a similar functionality for my program.
Thanks for any help
W. Roesler
.
- Follow-Ups:
- Re: How does online language switching work?
- From: Doug Harrison [MVP]
- Re: How does online language switching work?
- Prev by Date: Dialog Application Error, Pocket PC
- Next by Date: Re: Need help resolving modeless dialog issue
- Previous by thread: Dialog Application Error, Pocket PC
- Next by thread: Re: How does online language switching work?
- Index(es):
Relevant Pages
|