Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
calibra
|
Aug 29, 2018 - 1:42 AM
|
Hello,
like to localize an MFC Application which has about 50 Dialogs using external Resource.dll´s
I create theese DLL´s manually by Translating the original Ressource.rc using an external Search&Replace Tool, then i build the new tranlated Ressource.dll.
On CMainFrame::OnCreate i call:
HINSTANCE hLocalizationDll; hLocalizationDll = LoadLibrary("Languages\\German.dll"); ASSERT(hLocalizationDll); AfxSetResourceHandle(hLocalizationDll);
When i open new Dialogs from the Mainframe they are translatet correctly. Only the MainMenue is still in Original Language. Think there must be something like a "Refresh" Call but i cant find the Solution by myself.
Thanks Guido
|
|
TSELLC Support
|
Aug 29, 2018 - 3:29 AM
|
See "LanguageSwitcher" demo application for a complete sample of how to do that.
TSELLC Support
|
|