Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leksiqq/localization
A simple framework for applications localization
https://github.com/leksiqq/localization
culture internationalization localization wpf
Last synced: 7 days ago
JSON representation
A simple framework for applications localization
- Host: GitHub
- URL: https://github.com/leksiqq/localization
- Owner: Leksiqq
- License: mit
- Created: 2024-05-23T16:00:41.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-07-26T15:46:46.000Z (7 months ago)
- Last Synced: 2025-02-03T20:02:40.271Z (7 days ago)
- Topics: culture, internationalization, localization, wpf
- Language: C#
- Homepage: https://github.com/Leksiqq/Localization/wiki
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](https://github.com/Leksiqq/Localization/wiki/LocalizationBase-en) - base class for objects whose properties contain and methods return values that depend on a given culture.
* [ResourcePlaceAttribute](https://github.com/Leksiqq/Localization/wiki/ResourcePlaceAttribute-en) is an attribute of a class derived from [LocalizationBase](LocalizationBase-en) that associates it with an application or other assembly resource that contains culture-specific values.
* [ResourceInfo](https://github.com/Leksiqq/Localization/wiki/ResourceInfo-en) - 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](https://learn.microsoft.com/en-us/dotnet/core/extensions/localization) and demo applications based on WPF.
Sources are [here](https://github.com/Leksiqq/Localization/tree/master)
NuGet Package: [Net.Leksi.Localization](https://www.nuget.org/packages/Net.Leksi.Localization/)