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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:14:03+00:00 2026-05-13T20:14:03+00:00

I have just started writing a multilingual application for the very first time. I

  • 0

I have just started writing a multilingual application for the very first time. I have read about the concept of language resource files and I think I get the main idea. I have tried to implement it, and instantly found an issue:

I have entered the default language strings to a resx file, and then added another resource file (for example: UIStrings.en.resx). Since my company is not based in England / other English speaking countries, our applications are primarily written in our language. Thus default language is our language (Slovenian).

When I add the .en.resx file and insert the correct translations and run the program it now displays English text. I figured that is because

CultureInfo.CurrentUICulture = "en-US" 

while

CultureInfo.Currentculture = "sl-SI"

I figure this is because I am running English version of windows (though all the properties in Regional Options are set correctly to Slovenian settings).

How can I make the application display the strings in the users language, not the installed windows language?

  • 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-13T20:14:03+00:00Added an answer on May 13, 2026 at 8:14 pm

    I have found out this blog post that answers my question.

    If anyone else is struggling with this, here is what you do:

    So, if you are using the most common
    version of Windows (Englis version),
    you are stuck with the “en-US”
    culture; hence, your application will
    always use your English resource. In
    order to mitigate this, you can
    perform a little trick at your
    application startup. You can mislead
    your application to look in your
    CurrentCulture property instead of
    CurrentUICulture property. At the
    application startup, you can write
    something like this:

    Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
    

    This way, your application will use
    your globalization setting instead of
    your default windows localization
    setting. Your application will be
    localized to your globalization
    language and culture. If you change
    the Regional Settings in your Control
    Panel, your application language and
    culture will change automatically.

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

Sidebar

Related Questions

I have just started writing my own JavaScript Framework (just for the learning experience),
I have just started using Boost 1.36. These libraries would be very useful in
I have just started writing socket programs. Came to know that single UDP packet
I have just started learning Jquery and am new to writing javascript (I am
I have just installed C# 2008 Express Edition 2008 and started writing code. My
gcc 4.4.2 cmake 2.6 I have just started using cmake. Coming from writing my
I have just started learning XNA. This is my first program that I am
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have just started playing with ASP.NET MVC and have stumbled over the following situation.

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.