LibreResxTranslate 1.0.0

dotnet add package LibreResxTranslate --version 1.0.0
                    
NuGet\Install-Package LibreResxTranslate -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="LibreResxTranslate" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LibreResxTranslate" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="LibreResxTranslate" />
                    
Project file
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 LibreResxTranslate --version 1.0.0
                    
#r "nuget: LibreResxTranslate, 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 LibreResxTranslate@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=LibreResxTranslate&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=LibreResxTranslate&version=1.0.0
                    
Install as a Cake Tool

ResourcesLocalTranslatorLib

Automated .resx localization library for .NET projects using LibreTranslate.

Generate multilingual resource files for existing WinForms, WPF, and desktop applications without manually editing translations.


Features

  • Translate existing .resx files into multiple languages
  • Supports folder-based batch translation
  • Supports single file translation
  • Works with self-hosted LibreTranslate servers
  • Supports remote LibreTranslate endpoints
  • JSON configuration based workflow
  • Event-based logging
  • Extensible translator architecture
  • Suitable for CI/CD automation

Use Cases

  • Localizing legacy WinForms applications
  • Translating WPF resource files
  • Creating multilingual desktop apps
  • Migrating old single-language projects
  • Internal company software localization
  • Offline translation pipelines

Installation

dotnet add package ResourcesLocalTranslatorLib

Quick Start

using ResourcesLocalTranslatorLib.Components;
using ResourcesLocalTranslatorLib.Services.Settings;
using ResourcesLocalTranslatorLib.Services.Translater;

ISettingsService settings = new SettingsService();

settings.ActionLog += Console.WriteLine;
settings.LoadSettings();

if (!settings.IsValid)
{
    Console.WriteLine("Invalid configuration.");
    return;
}

var translator = new WinformsLocalizedTranslater(
    TypeTranslateEnum.Libre,
    settings);

translator.ActionLog += Console.WriteLine;

await translator.Translate();

Example Configuration

{
	"IsURL": false,
	"Url": "",
	"IP": "127.0.0.1",
	"PORT": "5000",
	"Protocol": "http",
	"Entries": [
		{
			"Flag": "Folder",
			"Type": "WinFormsLocalized",
			"In": "C:\\Project\\Resources",
			"Out": "C:\\Project\\Output",
			"CultureIn": "en",
			"CultureOut": ["ru", "de", "fr"]
		}
	]
}

Supported Modes

Folder Mode

Translate all .resx files from a directory.

File Mode

Translate a specific .resx file.


Supported Translation Providers

LibreTranslate

  • Local server
  • Remote endpoint
  • Self-hosted environments
  • Private infrastructure ready

Info startup Libretranslate - https://github.com/Dvurechensky-Tools/LibreResxTranslate/blob/main/docs/libretranslate.md


Why Use This Library?

Manual .resx localization is slow and repetitive.

This package automates the process while allowing you to keep translation infrastructure under your control.

Perfect for companies that need private or offline localization workflows.


License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos 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.

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 172 4/20/2026