About the Language property

  • Thread starter Thread starter Mario Vázquez
  • Start date Start date
M

Mario Vázquez

Hi,

I'm trying to provide my components and applications of multi-language
features.
I've found the Language property in Form class and other sontainers such as
UserControl, but help does'nt help me too much...
I've tried to change the Language property in my UserControl and I've seen
that a new resources file it has been created. It seems the right way... but
when I change the Language property on the Form which contains my
UserControl nothing happens. :(

Well, anybody can help me?
Which are the rules I have to follow to achieve this?

Thanks a lot,
Mario Vazquez
 
When the "Language" property changed, you can see the "resx" file for the
language is created for you.

If you open it, you'll see that's much like an XML file with "key", "type",
"value", etc...

Then you examinate the code, and you can see the "code created by form
designer" contains a number of
RecourceManager statements getting the values from the resource file by the
"key".

I suppose you can use similar method for the UserControl if the IDE don't
provide that for you.
(Sorry, I seldom create UserControl so not sure about that.)
 
Back
Top