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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AlexVirochovskyCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.