LazyApiPack.Localization.Wpf
0.2.0
See the version list below for details.
dotnet add package LazyApiPack.Localization.Wpf --version 0.2.0
NuGet\Install-Package LazyApiPack.Localization.Wpf -Version 0.2.0
<PackageReference Include="LazyApiPack.Localization.Wpf" Version="0.2.0" />
paket add LazyApiPack.Localization.Wpf --version 0.2.0
#r "nuget: LazyApiPack.Localization.Wpf, 0.2.0"
// Install LazyApiPack.Localization.Wpf as a Cake Addin #addin nuget:?package=LazyApiPack.Localization.Wpf&version=0.2.0 // Install LazyApiPack.Localization.Wpf as a Cake Tool #tool nuget:?package=LazyApiPack.Localization.Wpf&version=0.2.0
About this project
This library provides functionality to support localization for your applications.
Example to use this library:
<Window xmlns:loc="clr-namespace:LazyApiPack.Localization.Wpf;assembly=LazyApiPack.Localization.Wpf">
<Button Content="{loc:Localizer Captions.MainTitle}"
HorizontalContentAlignment="{loc:HorizontalAlignmentLocalizer}" />
</Window>
In the example shown above, you import the Localization.Wpf
to get access to the HorizontalAlignmentLocalizer
, HorizontalTextAlignmentLocalizer
, both used for right-to-left text support
and the Localizer itself to get the localized text via Group.Id
.
To get the localized text for group "Captions" and Id "MainTitle", use the markup extension {loc:Localizer Captions.MainTitle}
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
-
net6.0-windows7.0
- LazyApiPack.Localization (>= 0.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Supports the new localization interfaces.