Back to blog
ReleaseGitHub

Libs

EcosystemDvurechensky ToolsTools, utilities, and engineering repositories.Related projectLibreResxTranslateTool for automatic localization of .resx files in .NET projects using LibreTranslate.

> Download the .nupkg and install globally 💯

https://github.com/Dvurechensky-Tools/LibreResxTranslate/pkgs/nuget/LibreResxTranslate

> Download the .nupkg and install locally

CODE
dotnet add package LibreResxTranslate --source "C:\temp\nuget"

Supported Translators

LibreTranslate

  • Local server
  • Remote API
  • Self-hosted infrastructure
  • Suitable for private use

Important

Setting up LibreTranslate

Quick Start

CODE
using LibreResxTranslate.Components;using LibreResxTranslate.Services.Settings;using LibreResxTranslate.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();
Libs | Dvurechensky