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

The Archive Base Latest Questions

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

i have seen people localize their form using resource. put text data in resource

  • 0

i have seen people localize their form using resource. put text data in resource file and show those text data in windows form apps fetch from resource file. but my requirement is different that when my apps will on any pc and that pc language is set Germany or french then all control caption of my apps will be shown in that language. how could i do this….what code i need to write. i need to write very minimum code to implement it.

static int Main( string[] argv )
{
CultureInfo ci = CultureInfo.InstalledUICulture ;

Console.WriteLine("Default Language Info:" ) ;
Console.WriteLine("* Name: {0}"                    , ci.Name ) ;
Console.WriteLine("* Display Name: {0}"            , ci.DisplayName ) ;
Console.WriteLine("* English Name: {0}"            , ci.EnglishName ) ;
Console.WriteLine("* 2-letter ISO Name: {0}"       , ci.TwoLetterISOLanguageName ) ;
Console.WriteLine("* 3-letter ISO Name: {0}"       , ci.ThreeLetterISOLanguageName ) ;
Console.WriteLine("* 3-letter Win32 API Name: {0}" ,    ci.ThreeLetterWindowsLanguageName   
) ;

return 0 ;
}

the above way i can get current language set of the OS. please discuss this issue in details. thanks

  • 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-31T22:04:20+00:00Added an answer on May 31, 2026 at 10:04 pm

    Visual Studio contains a localization feature. You design the form in the default language (for example English) and then, in the form’s properties, you can set the “Localizable” property to true and select another language to translate to.

    After you’ve selected the language, you change the captions to the respective language. Then you select another language, change the captions, etc.

    Please note: Only add new controls or remove controls in the default language – otherwise the control will not be shown for other translations!

    The selection which language will be shown is then made by the .NET framework.

    The same applies to resource files as well – to localize a .resx file, create a copy and rename it to match the locale (for example: resources.DE.resx) and add it to the project.

    As Daryal said in his comment, further information can be found here.

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

Sidebar

Related Questions

I have seen people put all their JS code into one single line. (something
I have seen people say that it is bad form to use catch with
I have seen a few times people using -1 as opposed to 0 when
I have seen people using 2 methods to declare and define char * .
I have seen people define their events like this: public event EventHandler<EventArgs> MyEvent =
ok I have seen people using position:fixed to have a div follow the scroll.
in ASP.NET, I have seen people coding like this using (SqlConnection myConnection = new
I am working on a network programming and I have seen people using vector
I have seen people writing $(document).ready(function(){ }); and some writing $(function() { }); What's
I have seen blogs and people saying Returning dataset/datatable from an ajax enabled wcf

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.