Hello All
I want a form name to be changed depending upon the cultureInfo. Whenever one creates a form, its corresponding Form1.resx file is created. I created a file named Form1.fr-FR.resx, and added the string resource for form name. The application compiles fine, but even if I change the Thread.CurrentThread.CulturInfo property to fr-FR, the string is not taken from the new file.
Is anything I'm missing
Thanx
Mahesh.

Re: Localized form name by Pascal

Pascal
Tue Feb 10 12:23:26 CST 2004

Hi,

Don't forget to set the form's property Localizable to true.

greetings

P. Cloup

"Mahesh" <anonymous@discussions.microsoft.com> a écrit dans le message de
news:779FCB66-8234-4A76-A140-2F0FA2948096@microsoft.com...
> Hello All,
> I want a form name to be changed depending upon the cultureInfo. Whenever
one creates a form, its corresponding Form1.resx file is created. I created
a file named Form1.fr-FR.resx, and added the string resource for form name.
The application compiles fine, but even if I change the
Thread.CurrentThread.CulturInfo property to fr-FR, the string is not taken
from the new file.
> Is anything I'm missing ?
> Thanx.
> Mahesh.



RE: Localized form name by anonymous

anonymous
Tue Feb 10 17:11:07 CST 2004

I think you actually want to set Thread.CurrentThread.CurrentUICulture. I have done this and shipped a product that supports it

This isn't really documented very well. To be able to set it in Windows (for ALL of your windows apps) is to install the multi-language packs for Windows. After you can set this in the Region stuff in control panel

Good luck!