I recently discovered in MSVC 4.2 I could copy the resources and make the
copies language specific. The advantages of this approach are that I don't
have two versions of the DLL floating around, and that I can switch back and
forth between languages simply by changing the Regional Settings in the
Control Panel.
My problem is that this only seems to work properly under Window NT 4.0.
Under Windows 95 my application only uses the English version of the
resources, regardless of what setting I have selected in the Regional
Settings. The collating sequence and time and currency formats seem to be
getting changed correctly, but for some reason the Dutch versions of the
resources aren't being loaded.
Does anyone have any idea why this doesn't work properly under Windows 95?
Since I don't read this news group regularly, please respond via E-Mail to
jerry....@trw.com
Jerry,
Are you using the Dutch Win95? Internationalized programs only work in the
version of Win95 for that country (a pain, but by trial and error I have
determined this).
-Erik
Jerry W. Pearson <je...@tfs.com> wrote in article
<5lt668$n...@times.tfs.com>...
As far as I know, it愀 the usual WIN 95 problem: Not supported.
The language of the WIN 95 distribution is used to choose the
application愀 language. Probably your software will run fine on a Dutch
WIN 95 system.
My problem is exactly the same. We sell our software in the U.S. The
only way to test the product in is to have an American WIN 95 system
available.
***** Or does anybody know another solution (Please don愒 suggest to use
DLLs, that愀 much more work, especially if you have a couple of
languages)? *****
One of the things we haven愒 found out yet is which language will WIN 95
choose when the system runs a language not supported by the software???
* Please respond by news & by mail *
--
Heiko Erhardt
MIM Software GmbH, Kranzhornstr. 6
D-85567 Grafing, Germany
Phone: xx49-8092-833-00, Fax: xx49-8092-833-01
E-Mail: Heiko....@munich.netsurf.de
>The language of the WIN 95 distribution is used to choose the
>application´s language. Probably your software will run fine on a Dutch
>WIN 95 system.
>My problem is exactly the same. We sell our software in the U.S. The
>only way to test the product in is to have an American WIN 95 system
>available.
>
>***** Or does anybody know another solution (Please don´t suggest to use
>DLLs, that´s much more work, especially if you have a couple of
>languages)? *****
>
To force Windows 95 to load your national resource version you must
modify default registry key in section
"Control Panel\desktop\ResourceLocale"
to your preffered language.
eg. to force loading english resource on Dutch Win95 system change
this key to
[HKEY_USERS\.Default\Control Panel\desktop\ResourceLocale]
@="00000409"
Best regards
Grzegorz Czuba
Heiko Erhardt <Heiko....@munich.netsurf.de> wrote in article
<3384B2...@munich.netsurf.de>...
>
> One of the things we haven´t found out yet is which language will WIN 95
> choose when the system runs a language not supported by the software???
>
If Win95 doesn't find a resource that matches the version of Win95 that is
being used, it then uses the first instance of that resource, reguardless
of language. I do a lot of internationalization in Russian and German, and
have noticed that if I forget to translate a string or dialog, it grabs
either the English or German, whichever is first in the resource.
-Erik