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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:46:16+00:00 2026-05-15T17:46:16+00:00

Im creating a C# Application based on WinForms / KryptonForms, and as the application

  • 0

Im creating a C# Application based on WinForms / KryptonForms, and as the application is halfway in development i thought to myself I best sort the localization out.

As a born and bred PHP Programmer (and I know C# is a whole new level), I would create a class to detect the language and auto assign the language pack to the application. and then use the language objects to access the values.

I’m wondering if I can get some examples on the easiest / Best methods of doing this.

I personally would like something along the lines of the Application Settings

Where usually I would do MyApplication.Properties.Settings.Default.SomeKey I was hoping of a MyApplication.Languages.Current.ApplicationTitle and MyApplication.Languages.en.ApplicationTitle for example.

Also by only loading a single resource per language file to improve speed would be beneficial as well.

So the language loads in English, Spanish user is promoted that this application is in English, would he like to change it to the Spanish language, he clicks YES, the settings get updated and application restarts and loads the single Spanish language pack.

What are your thoughts on this?


Edit:

The application is based on the XMPP Protocols and uses agsXMPP Libraries. From my understanding each user that sends me their presence should also send the language their system is on.

So basically if there’s any way to “grasp” the fact of storing a single word and using the __("some string") in my application would be possible, but for the mean time I’m just looking at the GUI text.

  • 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-15T17:46:17+00:00Added an answer on May 15, 2026 at 5:46 pm

    The way we do localization is:

    • Set the “Localizable”-Property of a WinForm to true (which will generate a new resource file for that Form, holding e.g. the text of labels, buttons, but also z-order etc)
    • Create a FormName.de.resx file (“de” because we’re german) and then store the strings that will need to be localized in there (access to this resource-file works via the ResourceManager-class)
    • As for non-WinForms code that needs to be localized, we simply create separate resource files

    Upon compiling your app, a AppName.resources.dll is created. This dll holds all the resources of your application and can then be used with tools such as Visual Localize to translate the strings into another language like english or spanish etc.

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

Sidebar

Ask A Question

Stats

  • Questions 532k
  • Answers 532k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If you're already including jQuery I'd take advantage of it… May 17, 2026 at 12:14 am
  • Editorial Team
    Editorial Team added an answer After the else statement use a for loop to go… May 17, 2026 at 12:14 am
  • Editorial Team
    Editorial Team added an answer Question answered using vb.net Timespan May 17, 2026 at 12:14 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a WSE 3.0 based web service, and a WinForms client application that
I am creating an application based on the Utility template. The main screen consists
I have a settings file in my Winforms application called Settings.settings with a partial
I've an application that is based on .NET 2 runtime. I want to add
I am creating an winform application that will run on a tablet PC. One
I'm working on a web based application that belongs to an automobil manufacturer, developed
I'm working on a web based application that belongs to an automobil manufacturer, developed
I have a long-running console-based application Sender that sends simple text to STDOUT using
This is my first Java application I am creating (using Eclipse IDE) and the
Application configuration: Web application using java first method of creating JAX-WS 2.0 Web Services

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.