Re: internationalisation

Tech-Archive recommends: Fix windows errors by optimizing your registry



I do this the same way, but the big problem is the dialogs that come from
Windows (I.E., message boxes and MFC dialogs) are still in the language that
was loaded on the computer. It's tough to do *any* language on *any*
Windows load. We finally decided to just support our languages on the
native system. It works if you don't because we did what you illustrated
here, but if someone does File/Open they always get English if English is
loaded or French if French is loaded for MFC.

Tom

"KMA" <kma@xxxxxxxxxxxxxxx> wrote in message
news:dtkp3e$hmi$1@xxxxxxxxxxxxxxxxxxxx
Feel free to disregard, but I do it like this:

m_hLocalResource = AfxLoadLibrary(sLanguageDLLName);
AfxSetResourceHandle(m_hLocalResource);

This way you can set the resource language independent of the OS language.

It looks really easy!

Ahhh, but the devil is in the detail. *Practical* internationalisation
means rationalising where you spend your efforts to get the most return
for your time investment.

It's a subject dear to my heart, and my wallet. If you want to discuss
more details, feel free.

KMA



"David Webber" <dave@xxxxxxxxxxxxxxxxxxx> wrote in message
news:O7rjuJJOGHA.2668@xxxxxxxxxxxxxxxxxxxxxxx
Is there a way of testing "satellite DLL's" for resources in different
languages in MFC programs on English Language systems?

I understand that one (eg) creates a resource DLL

MyAppFRA.dll

full of French resources and puts it in the same directory as

MyApp.exe

to get a localised French version of the program. It looks really easy!

[ I tried it and did a SetThreadLocale to French in my application class
constructor, but that didn't work. (AfxFindResourceHandle looked for the
Menu to load and homed straight in on the English resources in the .exe -
for reasons buried deep in MFC it didn't get as far as considering to
look anywhere else.)]

Dave
--
David Webber
Author MOZART the music processor for Windows -
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mzusers/mailinglist.htm






.



Relevant Pages

  • Re: Language Version
    ... If you want Windows in French, you must install a French-language version of WinXP. ... It is possible to download and install the French-language version of IE7 on an English-language version of WinXP. ... However, when you install a Cumulative Update for IE, be it via Automatic Updates or Windows Update website, you will "automagically" end up with an updated English-language version of IE7. ... The Internet Explorer 7 MUI lets the browser user interface language to be changed to any of the supported languages according to the preferences of individual users...Internet Explorer 7 MUI allows the user interface language of the browser to be changed to one of the following supported languages: Arabic, Bulgarian, Chinese, Chinese, Croatian, Czech, ...
    (microsoft.public.windowsxp.general)
  • Re: How do I disable, for good, automatic language detection?
    ... French computer with Windows XP in French... ... Language and keyboard is in French. ... moment you seem to do anything, it switches back to French. ... Close all Windows so that just the desktop is displayed. ...
    (microsoft.public.office.misc)
  • Re: French language support in WOrd on a TS...
    ... Windows Technologies - Terminal Services ... > to able to create documetns in French and spell check them. ... This involves adding French to the Office language settings ...
    (microsoft.public.windows.terminal_services)
  • Re: vc or vc++??
    ... You're right that VB is easier than MFC though. ... You can write windows programs in MFC, VB, C#, C++, C, or Assembly language. ... memory space and ease of use. ...
    (microsoft.public.vc.language)
  • Re: vc or vc++??
    ... You can write windows programs in MFC, VB, C#, C++, C, or Assembly language. ... VB is easier than MFC, MFC is easier than C++, etc. ... Most programs written for Windows CE are written in C, ... visual studio 6.0 near me. ...
    (microsoft.public.vc.language)