Simon
Simon

Reputation: 155

.NET Localization - Windows Forms and Resource Files

I've started using Localization with resource files in my application. I'm using Visual Studio 2022 17.11 (the one with the new Resource Explorer) I'm facing some problems and here's a brief list:

I think I would like to switch to a more practical Globalization solution other than Resource Files. I have to maintain 3 or 4 languages in my applications, and it's so frustrating.

Any ideas? Thank you!

Upvotes: 0

Views: 221

Answers (1)

There are two very effective and easy ways to work with globalization in WinForms. The first that I will recommend is the i18n.NET library, which allows you to avoid direct interaction with RESX files, a significant advantage. This is more suitable for smaller or newly started projects

In the case of legacy projects (the majority of WinForms projects), the most viable alternative is the tool ResXManager. This tool assists with all the controls, making the updating and maintenance of translations much easier.

Upvotes: 0

Related Questions