Mtf.Windows.Forms.LanguageService
1.0.9
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.Windows.Forms.LanguageService --version 1.0.9
NuGet\Install-Package Mtf.Windows.Forms.LanguageService -Version 1.0.9
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.9" />
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.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mtf.Windows.Forms.LanguageService, 1.0.9"
#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.9 // Install Mtf.Windows.Forms.LanguageService as a Cake Tool #tool nuget:?package=Mtf.Windows.Forms.LanguageService&version=1.0.9
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 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
- DotNetZip (>= 1.16.0 && < 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.
Add Playtime register language elements.