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 7614155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:19:53+00:00 2026-05-31T02:19:53+00:00

I have a case that I have to get the language defined by admin.

  • 0

I have a case that I have to get the language defined by admin. I know how to do language supported web sites such as http://www.codeproject.com/Articles/163215/Dynamic-definition-of-the-list-of-available-langua

Thread.CurrentThread.CurrentCulture =  
                   CultureInfo.CreateSpecificCulture(language);
            Thread.CurrentThread.CurrentUICulture = new CultureInfo(language);
        }

but the consumer wants to define the language so he doesnt need me to change the source code everytime he wants to add a new language. I have been searching but reached to nothing. Could anyone give me any idea how to do that?

  • 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-31T02:19:55+00:00Added an answer on May 31, 2026 at 2:19 am

    You can build your own ResourceExpressionBuilder that stores key/value/language information in a database table. You can then provide interface in the administration to add languages and update values based on this database table. The expression builder will allow you to use the same syntax for localization as with the built in resource files. It is not a fast and easy solution though. It takes time to implement this.

    Alternatively you can teach the customer to create resource files and deploy them on the server. This should not require compilation.

    Here is an example on how to override the resource manager. You can also create your own expression http://msdn.microsoft.com/en-us/library/aa905797.aspx
    http://msdn.microsoft.com/en-us/library/system.web.compilation.resourceexpressionbuilder.aspx

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

Sidebar

Related Questions

I have a WordPress template that contains the following element: <html xmlns=http://www.w3.org/1999/xhtml <?php language_attributes('xhtml');
I have a case that keeps coming up where I'm using a ListView or
We have a business case that would be perfect for multiple BackgroundWorkers. As an
I have a Selenium test case that enters dates into a date selector made
I am trying to learn Microsoft MVC 2, and have in that case found
I have a case where I wanna choose any database entry that have an
We have an internal .NET case management application that automatically creates a new case
I have a regular .NET application. In this case I have a part that's
I have an odd edge case right now in that a response code from
I have a table that was imported as all UPPER CASE and I would

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.