LazyApiPack.Localization 0.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package LazyApiPack.Localization --version 0.0.6
NuGet\Install-Package LazyApiPack.Localization -Version 0.0.6
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LazyApiPack.Localization" Version="0.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LazyApiPack.Localization --version 0.0.6
#r "nuget: LazyApiPack.Localization, 0.0.6"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LazyApiPack.Localization as a Cake Addin
#addin nuget:?package=LazyApiPack.Localization&version=0.0.6

// Install LazyApiPack.Localization as a Cake Tool
#tool nuget:?package=LazyApiPack.Localization&version=0.0.6

About this project

This project provides interfaces, to use the Localization Manager in MVVM Service patterns.

Localization Interface

Supports functions GetTranslation and SetTranslation

  • GetTranslation(group, id) Gets the localization from the Group with the Id (See file structure).
  • SetTranslation(group, id, value) Sets or updates the localization in the specified Group with the Id.

Localization File Structure

The localization file is structured as following:

  • a Header ILocalizationHeader that provides Metadata such as Localized Language Name (E.g. עברית) or the Language Ietf / Language ISO 639-1 codes.
  • the localization ILocalization, that is grouped into Group.Id.
    • Group: e.g. Captions or Messages
    • Id: The unique id of a translation e.g. FileNotFoundMessage or MainWindowTitle
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on LazyApiPack.Localization:

Package Downloads
LazyApiPack.Localization.Manager

Provides a way to localize applications.

LazyApiPack.Localization.Wpf

Provides a way to use the LocaliationService within XAML files.

LazyApiPack.Mvvm

Provides an MVVM pattern for applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.1.1 219 11/19/2023
0.2.0 167 10/22/2023
0.1.0 168 7/16/2023
0.0.6 249 3/16/2023
0.0.5 249 3/13/2023
0.0.4 206 3/13/2023
0.0.3 201 3/13/2023
0.0.2 257 3/3/2023
0.0.1 278 3/3/2023

Added support to load translations from an embedded resource.