473,386 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Reginoalisation, cultures etc.

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
Nov 21 '05 #1
5 1004
' Sets the UI culture to French (France)
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR")
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR")

"Jack Russell" <ja***@norubbish.tpg.com.au> skrev i melding
news:%2****************@TK2MSFTNGP12.phx.gbl...
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


Nov 21 '05 #2
"Inge Henriksen" <in************@booleansoft.com> schrieb:
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


' 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3
Then you can try to download the French version of the .NET Framework from
the Microsoft Download center, or install a French OS.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> skrev i melding
news:OQ**************@TK2MSFTNGP15.phx.gbl...
"Inge Henriksen" <in************@booleansoft.com> schrieb:
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


' 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Nov 21 '05 #4
Inge Henriksen wrote:
' Sets the UI culture to French (France)
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR")
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR")

"Jack Russell" <ja***@norubbish.tpg.com.au> skrev i melding
news:%2****************@TK2MSFTNGP12.phx.gbl...
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


I did that but it did not affect file dialogs. Picked up the right res
file for the forms though.
Nov 21 '05 #5
Inge Henriksen wrote:
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!
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> skrev i melding
news:OQ**************@TK2MSFTNGP15.phx.gbl...
"Inge Henriksen" <in************@booleansoft.com> schrieb:
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

' 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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>


Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: papri | last post by:
Hello All. Thanks for letting me in. I have a question regarding setting Culture in Web.config file in an ASP.NET application. I added the culture = "ar-SA", and then when i added a calendar...
4
by: Karunakararao | last post by:
Hi All DateTime populaing based on regional settings In ASP.NET Application Iam using this Code: Thread.CurrentThread.CurrentCulture =...
3
by: znappa | last post by:
Hi. Is there a way to get a list of supported cultures/languages for my application. By calling CultureInfo.GetCultures( CultureTypes.AllCultures )) I get the whole list of supported cultures en...
0
by: Thomas Kristiansen | last post by:
Hi IS there any way that I can use different cultures on Session level in one single .NET Web application ?? CU Thomas
1
by: JezB | last post by:
Could anyone tell me how to implement custom cultures in ASP.NET 2.0, such that it automatically picks up application and page-level resources from the Resources and LocalResources application...
2
by: Jon | last post by:
I have an asp.net app that I've localized using satellite assemblies. It works wonderfully, even for displaying dates. My problem comes when I try to use one of those dates in a SQL query. I...
0
by: Dave Harris | last post by:
After switching cultures for a thread, the Menu shortcuts are still showing the English word shift (as in Ctrl+Shift+M instead of Ctrl+Maj+M in French). Running this on a French version of windows...
0
by: GB | last post by:
All, I raised a problem a while ago about custom cultures in .NET and an error whereby a "Resource lookup failed - infinite recursion detected" exception was raised. Usually this was raised when...
0
by: Nays | last post by:
Hi All I would be very grateful for any help with a problem I am having with Custom Cultures. I need to change the date format of a specific culture. I have created a custom culture that...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.