Simploc.WPF
1.0.0
dotnet add package Simploc.WPF --version 1.0.0
NuGet\Install-Package Simploc.WPF -Version 1.0.0
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="Simploc.WPF" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Simploc.WPF" Version="1.0.0" />
<PackageReference Include="Simploc.WPF" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Simploc.WPF --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Simploc.WPF, 1.0.0"
#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.
#:package Simploc.WPF@1.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Simploc.WPF&version=1.0.0
#tool nuget:?package=Simploc.WPF&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Simploc
This library provides a Simple & Easy Localization Method for WPF.
How to Use
You can implement localized text in just 3 steps.
- Download and install the <b>Simploc.WPF</b> package from <b>NuGet</b>.
- In XAML code, add the
xmlnsof thehttp://schemas.e-s.team/simploc/wpf/2026/xamlwith the arbitrary prefix (Recommendedu). - Set localized values for any dependency properties using the
u:Textoru:Valuemarkup extensions.
Examples
Example for localized texts.
<Window x:Class="Simploc.WPF.Sample.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Simploc.WPF.Sample"
xmlns:u="http://schemas.e-s.team/simploc/wpf/2026/xaml"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<DockPanel>
<u:LanguageComboBox DockPanel.Dock="Top"/>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50"
Text="{u:Text en='Hello World!', de='Hallo Welt!', fr='Bonjour le monde!', it='Ciao Mondo!', es='Hola Mundo!', ru='Привет, мир', zh_Hans='你好,世界', ja='こんにちわ!', ko=' 안녕하세요, 세계', hi='नमस्ते दुनिया'}"/>
</DockPanel>
</Window>
You can also use localized resources other than text.
<Window x:Class="Simploc.WPF.Sample.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Simploc.WPF.Sample"
xmlns:u="http://schemas.e-s.team/simploc/wpf/2026/xaml"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Window.Resources>
<SolidColorBrush x:Key="BlackSolidColorBrush" Color="Black"/>
<SolidColorBrush x:Key="BlueSolidColorBrush" Color="Blue"/>
<SolidColorBrush x:Key="RedSolidColorBrush" Color="Red"/>
<SolidColorBrush x:Key="GreenSolidColorBrush" Color="Green"/>
</Window.Resources>
<DockPanel>
<u:LanguageComboBox DockPanel.Dock="Top"/>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="50"
Text="{u:Text en='Hello World!', de='Hallo Welt!', fr='Bonjour le monde!', it='Ciao Mondo!'}"
Foreground="{u:Value en={StaticResource BlueSolidColorBrush}, fr={StaticResource BlueSolidColorBrush}, it={StaticResource GreenSolidColorBrush}}"/>
</DockPanel>
</Window>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0-windows7.0 is compatible. net6.0-windows was computed. net7.0-windows was computed. net8.0-windows was computed. net9.0-windows was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0-windows7.0
- Simploc.Core (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 47 | 3/10/2026 |