bilingual application with Visual C++

I want a simple example with some dialog
that i can switch from french to english at runtime

i already ready the books about internationnalisation from MSDN but there is no good example.

thanks a lot.
diplodocusAsked:
Who is Participating?
 
AlexVirochovskyConnect With a Mentor Commented:
Hi, there are many ways to make this. I descibe my way.
1. All messages(and name of Dialogs) must be in rc File.   
2. In all palces in Progammes use LoadString for use
this message/text.
3. make rc Files for all languages.
4. From this rc Files make DLL(see Windows documentation
for make DLL from Resource File)
5. In Begin of  Programm LoadLibrary for Default Lang.(DLL)
6. make menu Laguages: English/Swedish/Hebrew/...
7. If user change Lang,FreeLibrary (old Lang) and LoadLibrary
(new Lang)
8. In end of programm FreeLibrary
Alex
0
 
diplodocusAuthor Commented:
i read MSDN ??? this is the same answer

if you want excellent
answer this
where could i found an application that could do it i mean an example with coding...
this is what i want ???

thanks a lot to spend time for this answer.


 

0
 
AlexVirochovskyCommented:
Hi,next is examples
1. Load DLL
   hInst = LoadLibrary("mydll.dll")
2. Free Dll
   FreeLibrary(hInst);
3. Load String from Dll
   buff[81];
   LoadString(hIns, IDT_TEXT01,buff,sizeof(buff));
Alex
0
 
diplodocusAuthor Commented:
When you are using a new string by example "normal text" by "translated textasdasdsadasd" do you have to build another dialog to be sure that all text fit in it...

or just replace the text and that's it.
it resize automaticlly.

thanks
0
 
AlexVirochovskyCommented:
No , i make size of control to maximum.
0
All Courses

From novice to tech pro — start learning today.