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 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

Related Questions

I am creating a new SDK component (application) based on the sample device located
I am creating a simple iPhone navigation based application. In this I am moving
How should I go about creating a NavigationController for use in a view-based application?
In previous versions of Xcode creating a window-based, universal application would populate the project
I have a cakePhp application built, and now I'm creating a simple blog based
I am creating an application based on the Utility template. The main screen consists
I am creating a navigation based application and in the root view, it lists
Hi i am creating an application that executes the method of a class based
I have this issue with Core Data. I am creating a core-data-based application, for
I'm creating a servlet-based application using Tomcat. Besides that i've some classes to acces

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.