Solved

Current Culture is lost.

Posted on 2003-12-05
3
404 Views
Last Modified: 2011-09-20
When I set a culture (german) on a login page I loose it on another.
Is the setting page specific only?
This is what I do:

            CultureInfo = New wwCultureInfo()
            Thread.CurrentThread.CurrentCulture = New CultureInfo("de-de")

How can I set the culture for the whole application?
0
Comment
Question by:andw928
3 Comments
 
LVL 3

Accepted Solution

by:
TwoSide earned 40 total points
ID: 9885131
You can add a globalization key in web.config file.

<configuration>
   <system.web>
              <globalization requestEncoding="any valid encoding string"
                                   responseEncoding="any valid encoding string"
                                   fileEncoding="any valid encoding string"
                                   culture="any valid culture string"
                                   uiCulture="any valid culture string"/>
   </system.web>
</configuration>
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10246803
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: TwoSide {http:#9885131}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now