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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:48:20+00:00 2026-05-11T07:48:20+00:00

I have an app which is for a global market and needs to be

  • 0

I have an app which is for a global market and needs to be localisable. During development I had some problems in that my satellite assemblies never seemed to be picked up even when I changed my locale. After some research I now understand why this is and was able to test by setting the CurrentUICulture in the code and verify that things worked as expected.

Now it comes to packaging up the app for release and I am not sure if setting Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture for the current thread when my app starts is a good idea. On the plus side my app will be localisable by changing the regional settings (if this is an up side), but I am worried that there might be unforseen downsides to this. One that immediately springs to mind is that whilst what I have done is all well and good for my thread, it will not apply (from what I understand from reading on here and around) to any threads which are created either by my app (unless I set the CurrentUICulture on those too) or worse by any components which I use which may create their own threads.

Could there be other problems? Is setting the CurrentCultures to be the same something that is standard practice or something that is frowned upon?

I’d like to be armed with as much info on the ups and downs of this before making a decision.

Thanks

Sam

  • 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-11T07:48:21+00:00Added an answer on May 11, 2026 at 7:48 am

    Sam, don’t mess with it unless you are really sure what you’re doing.

    I’ll assume we are talking WinForms here. The framework picks up the arguably best settings from the system (as configured by the user). From your question it might just be more of a testing problem. I regularly put in some code after #if DEBUG to pick a locale for testing purposes.

    My own case in point: my locale is Dutch (nl-NL) but i usually run English versions of Windows. If you override the CurrentUICulture I would get the Dutch version (if available) which is usually OK. But I know from eperience that some controls / add-ins will remain in English (including ShowMessage boxes and std Dialogs). The combination is ugly.

    But also consider the case when you do not add satellites matching the CurrentCulture. The system would fall back on the default in your program, while the users UI culture might be a better choice. I do not know all the fallback rules but you probably could get something similar to:

    User runs fr-CA settings on fr-FR windows. Your program falls back to en-US, user n’est pas happy.

    My advice:

    • do some field tests
    • if you do build in the override then use a switch in app.config
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some settings in my app.config which I intend to be 'global' -
I want to create a tiny app which needs global shortcuts. So, I have
I have app in which i have recorded sound files i want that i
I have an app which has a map and some POI on it. I'm
I have an app which contain some images in res/drawable/ and shows them in
I have an App which receives a SQLite database to read some data and
I have a custom global class which looks like this import android.app.Application; public class
I have an android app which runs a foreground service and while that service
I am working on a C++ app which internally has some controller objects that
I have a app which will download a file from web. The download action

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.