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

  • SEARCH
  • Home
  • 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 4382274
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:45:30+00:00 2026-05-21T12:45:30+00:00

The following things/behaviors are expected in multi lingual application. To pick up the correct

  • 0

The following things/behaviors are expected in multi lingual application.

  1. To pick up the correct resources for the logged in user’s language
  2. The string sort should happen according to user language (For example: in case of Swedish users, the Swedish alphabets should come after z in Order).
  3. The date time format validation should happen according to the user’s language. (For example: fr-FR users can enter dd/mm/yyyy and en-US users can enter mm/dd/yyyy)
  4. The decimal validation again should happen according to user’s language (For example: 12,5 is valid in French whereas 12.5 is invalid)

Now the question is what is the best way to handle this.

Approach 1:

  1. Set the page culture and page UICulture – so that the App_GlobalResources are picked up and decimal values in grid are correctly formatted.
  2. Write custom methods to fire validation for the following
    • Datetime
    • Decimal
  3. Write custom method to handle string sorting.

Approach 2:

  1. Set the current thread’s culture and let this handle the following { Does each user of the web app have their culture correctly set in this case?}

Approach 3:

  1. Initialize the globalization attribute in web.config and letting the application pick culture based on the user’s browser culture

    <globalization uiculture="auto" culture="auto" enableClientBasedCulture =”true”/>
    

Please let me know if there are better alternatives and how should we approach solving such problems or the pros and cons of the above approaches.

  • 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. Editorial Team
    Editorial Team
    2026-05-21T12:45:30+00:00Added an answer on May 21, 2026 at 12:45 pm

    Overload the InitializeCulture() page event. Use a session var based on the autheticated user, which stores the currentliy selected culture and reset both Thread.Culture and UICulture in the event handler.

    As far as I know, these conversion issues or ToString() format issues should no exist. The current thread culture will handle all for you.

    Some resources:
    Walkthrough: Using Resources for Localization with ASP.NET
    How to: Set the Culture and UI Culture for ASP.NET Web Page Globalization

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

Sidebar

Related Questions

I want to develop an application that would extract the following things from an
I need to do the following things for a text file..and insert the seeked
Is there an algorithm for figuring out the following things? If the result of
What's a good URL shortening script that does the following things? It is customizable
I have seen many articles and Questions/Answers Regarding Lock Escalation but following things are
I want to apply a different hyper link style to the following two things:
Some things in Scala seems opaque to me such as the following when to
The following code works fine in firefox but as with many other things, I
Following code gets executed whenever I want to persist any entity. Things seems to
The following query: SELECT DISTINCT ClassName FROM SiteTree ORDER BY ClassName is returning things

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.