I have been using the language resource in VB. Is there a way to
influence what language the LoadResString() function returns?
I experimented some time ago and found out that SetThreadLocale()
changed the language returned by that function. As I recall it wasn't
100% guaranteed to work and for some reason it doesn't behave the same
on W2000. On W2000 the language doesn't change. :-(
Example: My user / system settings are set for Finnish but I'd like to
use the Swedish language section of the .res file...
Thanks,
-Kai
1) Split your language resources into separate satellite DLLs, one per
language.
2) use the much tougher resource functions to load raw resources.
Of the two, #1 is more scalable, a better practice in terms of the best way
to handle localization, and a LOT more VB-friendly.
--
MichKa
the only book on internationalization in VB at
http://www.i18nWithVB.com/
"Kai Hietala" <Kai.H...@predisys.com> wrote in message
news:3B98A0F7...@predisys.com...
In the RES file, we add another string table and set the language of
it: we used German (the first one is always English by default.)
When you install and run you program, the string load will be in that
language if you have a string table that refers to it. Else it will be
in English.
=====================================================
Did you know my cats can type by sitting *on* my
keyboard?
rich...@sympatico.ca.No.Spam
http://www3.sympatico.ca/richmann/
http://www.geocities.com/richmannsoft/index.html
=====================================================
'---------------------------------------------------------------------------
------------------------------
I hope it's works.
Hakan Ornek
"Kai Hietala" <Kai.H...@predisys.com> wrote in message
news:3B98A0F7...@predisys.com...
--
MichKa
Michael Kaplan
Trigeminal Software, Inc.
http://www.trigeminal.com/
(principal developer of the MSLU)
"Hakan Ornek" <ha...@prohakedis.com> wrote in message
news:u#Ih#tDOBHA.1812@tkmsftngp04...