Mtf.WPF.LanguageService
1.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Mtf.WPF.LanguageService --version 1.0.5
NuGet\Install-Package Mtf.WPF.LanguageService -Version 1.0.5
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="Mtf.WPF.LanguageService" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mtf.WPF.LanguageService --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mtf.WPF.LanguageService, 1.0.5"
#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 Mtf.WPF.LanguageService as a Cake Addin #addin nuget:?package=Mtf.WPF.LanguageService&version=1.0.5 // Install Mtf.WPF.LanguageService as a Cake Tool #tool nuget:?package=Mtf.WPF.LanguageService&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Usage
GitHub URL Developer's URL Facebook Page
using LanguageService;
using LanguageService.WPF;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
lv.ItemsSource = new[] { Lng.Elem("Users"), Lng.Elem("Groups") };
rtb.Document.Blocks.Add(new Paragraph(new Run(Lng.Elem("File name"))));
Translator.Translate(this);
}
}
If you need to translate to Hungarian, just use this code snippet.
Lng.DefaultLanguage = LanguageService.Language.Hungarian;
Translator.Translate(this);
You can translate from any language to any other language like this.
Lng.Translate(Language.Hungarian, "Ismétlődés", Language.English);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- Ionic.Zip (>= 1.9.1.8 && < 2.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.
Separated Windows.Forms and WPF libraries.