Reginoalisation, cultures etc.

  • Thread starter Thread starter Jack Russell
  • Start date Start date
J

Jack Russell

Just starting to play around with regionalisation.

I had always assumed that things like file dialogs were handled
automatically. i.e. If I set my language to French the open file dialog
would say something other than Open and Cancel. I am over optimistic or
am I doing something wrong?

Thanks
 
' Sets the UI culture to French (France)
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR")
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR")
 
Inge Henriksen said:
' Sets the UI culture to French (France)
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR")
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR")

This won't change the language of OpenFileDialogs.
 
Then you can try to download the French version of the .NET Framework from
the Microsoft Download center, or install a French OS.
 
Inge said:
' Sets the UI culture to French (France)
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR")
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR")
I did that but it did not affect file dialogs. Picked up the right res
file for the forms though.
 
Inge said:
Then you can try to download the French version of the .NET Framework from
the Microsoft Download center, or install a French OS.
I was afraid that might be the answer!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top