rjorgy
asked on
Multi Language Applications
We are a system integrator writing applications for industrial control systems using Visual Basic "Man Machine Interfaces" (MMI) and C++ for most control functions. We have had numerous requests to provide multi-language MMI’s . These are Client/server applications using Windows NT the standard TCP/IP network services.
Previously we supplied many non-windows based systems using an industrial 68000 based computer programmed in "Forth". We supplied systems for English/Spanish, English/French, English/Polish, and English/Russian. To accomplish this, we stripped out all the text in both the MMI and the reports, built a file with English statements and corresponding "Second Language" statements. We then were able to, by means of a "Two Position" selector switch, switch from one language to the other.
I am looking for any products or ideas that will assist me in this type of system. Any ideas???
Richard Jorgensen
Previously we supplied many non-windows based systems using an industrial 68000 based computer programmed in "Forth". We supplied systems for English/Spanish, English/French, English/Polish, and English/Russian. To accomplish this, we stripped out all the text in both the MMI and the reports, built a file with English statements and corresponding "Second Language" statements. We then were able to, by means of a "Two Position" selector switch, switch from one language to the other.
I am looking for any products or ideas that will assist me in this type of system. Any ideas???
Richard Jorgensen
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will let you know how it works out.
ASKER
I will let you know how it works out.
Correction:
Here's some code I found somewhere, (better version of the above):
me.caption = loadresstring(cint(me.tag) )
for each ctl in me.controls
err.clear
if isnumeric(ctl.tag) then
if err = 0 then
ctl.caption = loadresstring(cint(ctl.tag ) + nLanguageBase)
end if
end if
next
So, for all controls on the form that *do* have a numeric Tag property value, this code will attempt to load the resource string into that control's caption.
Here's some code I found somewhere, (better version of the above):
me.caption = loadresstring(cint(me.tag)
for each ctl in me.controls
err.clear
if isnumeric(ctl.tag) then
if err = 0 then
ctl.caption = loadresstring(cint(ctl.tag
end if
end if
next
So, for all controls on the form that *do* have a numeric Tag property value, this code will attempt to load the resource string into that control's caption.
Damn, that should be
me.caption = loadresstring(cint(me.tag) + nLanguageBase)
Iterative programming.
me.caption = loadresstring(cint(me.tag)
Iterative programming.
ASKER
Thanks again
Dick
Dick
ASKER