Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 172417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:09:44+00:00 2026-05-11T13:09:44+00:00

Hi I am using Resoursce files as described here: http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx I am setting the

  • 0

Hi I am using Resoursce files as described here: http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx

I am setting the culture info programatically as opposed to at the top in the page declaration. Do I need to declare the culture info for each page? Is there something I can do to change the culture info for all pages using one line? I am using a master page. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:09:45+00:00Added an answer on May 11, 2026 at 1:09 pm

    If you just want the culture to be set to the browser’s settings, follow this answer. If you need to set the culture to something programmatically, use the following:

    public class MyPage : Page {     protected override void InitializeCulture()     {         base.InitializeCulture();         Thread.CurrentThread.CurrentCulture = ...;         Thread.CurrentThread.CurrentUICulture = ...;     } } 

    Then make sure all of your pages inherit from MyPage instead of Page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have project asp.net with namespace test and I'm using resources (files Resource.resx and
I'm working on a quite simple Webpage (MVC2), using localisation based on Resource Files.
I am one step away from making the method described here: Targeting Android with
We have a dynamic languaging system that doesn't use conventional resource files; fetching resources
Today I have started with setting up of Android Development Environment using Eclipse for
Where should resource files go and at what granularity (application/assembly/namespace/class/...)? Using a layered architecture
My site needs to be french and english and I am using resource files
I have recently switched from using separate resource files to using a texture atlas.
I am making an asp.net mvc solution with globalization. I have implemented globalization using
While working a project tonight, I ended up using one .js resource file for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.