The Net.Leksi.Localization library is designed to simplify the process of localizing and internationalizing applications. It is a wrapper for the standard application resource system, allowing you to separate localization actions in the code from actions with resources, increasing the clarity and readability of the code.
All classes are contained in the Net.Leksi.Localization namespace.
- LocalizationBase - base class for objects whose properties contain and methods return values that depend on a given culture.
- ResourcePlaceAttribute is an attribute of a class derived from LocalizationBase that associates it with an application or other assembly resource that contains culture-specific values.
- ResourceInfo - auxiliary class for use in the development process. Contains information about a culture-specific value: key, value, value type, what class it is a property of, the name of the resource it came from, the locale of that resource.
The principles of using the library are described in the section [Demo and principles of use] using the example of a test application from the article Localization in .NET and demo applications based on WPF.
Sources are here
NuGet Package: Net.Leksi.Localization