Creating multilanguage forms

  • Thread starter Thread starter Tosch
  • Start date Start date
T

Tosch

I have created a form with some labels that I have translated into
french and englich, default language is german.
I can switch languages by code no problem.

But when I run this sample on a french windows I still get all the
german labels on startup. Doesn't .NET not realise that I have
installed a frend Win2K? Is there anything I have to add to my code to
achieve this?

Thomas
 
Tosch
Depends on the way you set the language and culture, when you use the
culture methode in the resource, than you have as far as I know to do
nothing. (Be awared for W98/Me systems, because the language is there set
using the keyboard settings.
Cor
 
* Tosch said:
I have created a form with some labels that I have translated into
french and englich, default language is german.
I can switch languages by code no problem.

But when I run this sample on a french windows I still get all the
german labels on startup. Doesn't .NET not realise that I have
installed a frend Win2K? Is there anything I have to add to my code to
achieve this?

How did you implement the multiple language support?
 
On the form I have set localizable=true, set the language I wanted and
then entered the text property for the lables in the appropriate
language.

VB then generated code that loads lot's of properties from the
resource file, not only the text property.


Tosch
 
Hi Tosch,
I think that you did it in the right way,
You can check this, when you set your solutions explorer to show all files
(that is in top of the explorer one of the four icons)
And then open the tree beneath your form, there has to be for every language
you have used an extra resx file.
If it is not, you are sure that it is not working.
I hope this helps a little bit.
Cor
 
Back
Top