Localizing Message boxes, strings, etc

  • Thread starter Thread starter Andre Nogueira
  • Start date Start date
A

Andre Nogueira

Hi there.
I am developing an application using Visual Basic .Net 2003.
So far I have localized my forms and their controls using the VS.net Ide
(Setting localized to True, choosing a language and translating the text on
all the controls).
But now I have a problem. How can I do this with Message Boxes and text that
is created dinamically?
I searched MSDN and also used google but found nothing...

Thank you in advance!

André Nogueira
 
* "Andre Nogueira said:
But now I have a problem. How can I do this with Message Boxes and text that
is created dinamically?

There is no direct way to localize them -- the captions will be taken
from Windows and will contain text in the system's language.
 
But I mean Message Boxes generated by my program using Msgbox and strings,
such as
Dim S as String
S = "This is my string"
Msgbox "this is another string"

What is the best way to localize such resources? Any ideas?
Thanks!

Andre Nogueira
 
Hi Andre,

Told is to use the resx, however mostly when this message is placed in this
way there are a lot of reactions which tell that that is much to difficult
to use for this situations.

I agree that and I think that creating a language file for that by instance
a XML dataset is much more handy. (You can change the language outside your
program with that).

I hope this helps?

Cor
 
Back
Top