RoboTranslator 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global RoboTranslator --version 0.0.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local RoboTranslator --version 0.0.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RoboTranslator&version=0.0.1                
nuke :add-package RoboTranslator --version 0.0.1                

RoboTranslator

Dotnet tool which translate PO files using Google Translate API.

Installation

dotnet tool install --global RoboTranslator
dotnet robotranslator -h

Usage

USAGE: robotranslator [--help] [--verbose] [--output <output>] [--source <output>] [--language <language>] [--apikey <key>] [--first <count>]

OPTIONS:

--verbose, -v         Verbose output
--output, -o <output> .po file where to save translation
--source, -s <output> .po/.pot file to translate
--language, -l <language>
                      Language to which translate file
--apikey, -k <key>    API key for Google Translate
--first <count>       Limit translation to only first non-translated entries
--help                display this list of options.

Basically translation process for now is one of the following:

Same file translation of untranslated strings

dotnet robotranslator -s Game.po -l uk -k <api-key>

or translation of whole file

dotnet robotranslator -s Game.pot -o Game.po -l uk -k <api-key>

As of March 2025 Google Translate API provide 500 K free characters translation per months. You can get your API key here

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.0.3 42 3/1/2025
0.0.2 36 3/1/2025
0.0.1 44 3/1/2025