Mtf.Windows.Forms.LanguageService
1.0.10
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Framework 4.8.1
This package targets .NET Framework 4.8.1. The package is compatible with this framework or higher.
dotnet add package Mtf.Windows.Forms.LanguageService --version 1.0.10
NuGet\Install-Package Mtf.Windows.Forms.LanguageService -Version 1.0.10
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.Windows.Forms.LanguageService" Version="1.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mtf.Windows.Forms.LanguageService --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mtf.Windows.Forms.LanguageService, 1.0.10"
#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.Windows.Forms.LanguageService as a Cake Addin #addin nuget:?package=Mtf.Windows.Forms.LanguageService&version=1.0.10 // Install Mtf.Windows.Forms.LanguageService as a Cake Tool #tool nuget:?package=Mtf.Windows.Forms.LanguageService&version=1.0.10
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.Windows.Forms;
public partial class MainForm : Form
{
public MainForm()
{
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 | net8.0-windows7.0 is compatible. net9.0-windows7.0 is compatible. |
.NET Framework | net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8.1
- System.IO.Compression (>= 4.3.0)
-
net8.0-windows7.0
- System.IO.Compression (>= 4.3.0)
-
net9.0-windows7.0
- System.IO.Compression (>= 4.3.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Add Playtime register language elements.