LazyApiPack.Localization.Manager
0.0.4
See the version list below for details.
dotnet add package LazyApiPack.Localization.Manager --version 0.0.4
NuGet\Install-Package LazyApiPack.Localization.Manager -Version 0.0.4
<PackageReference Include="LazyApiPack.Localization.Manager" Version="0.0.4" />
paket add LazyApiPack.Localization.Manager --version 0.0.4
#r "nuget: LazyApiPack.Localization.Manager, 0.0.4"
// Install LazyApiPack.Localization.Manager as a Cake Addin #addin nuget:?package=LazyApiPack.Localization.Manager&version=0.0.4 // Install LazyApiPack.Localization.Manager as a Cake Tool #tool nuget:?package=LazyApiPack.Localization.Manager&version=0.0.4
About this project
This library provides a way to localize applications. It uses the JSON format to store the localizations. Please refer to the LazyApiPack.Localization library documentation to learn, how to use the localization functionality and the file format.
How to use this library
This library can be uses as a service in an MVVM pattern, since it uses the interface from the LazyApiPack.Localization
library.
LocalizationService
This service implements a Read-Only service for localizations
To create an instance, just use DependencyInjection with the LazyApiPack.Localization
library or create the instance with
new LocalizationService();
after the instantiation, you need to initialize the service (AddLocalizations).
Function AddLocalizations
This function initializes the service with the information it needs.
localizationDirectories: A list of directories and files that contain your translation files.
searchPattern: If you pass directories with localizationDirectories
, you can pass a file filter (e.g. *.json
)
options: You can specify, how to deal with directories (e.g. find files in subdirectories etc.)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- LazyApiPack.Collections (>= 0.0.4)
- LazyApiPack.Localization (>= 0.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added support for localization file merging; Added support for Right-To-Left languages such as Hebrew or Arabic.