ntzrbtr / deepl-translator

Command-line tool to translate language files using DeepL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DeepL Translator

This is a simple command-line tool to translate files containing locale strings in the form of PHP array (as e.g. used by Laravel) using the DeepL API.

Installation

Install the package using composer: composer require --dev ntzrbtr/deepl-translate.

Setup

Usage

  • Run vendor/bin/deepl-translate [options] <source> <target> to translate your file
    • <source> is the source file
    • <target> is the target file
    • Within [options] you can set the source and target language:
      • --source-language (default: en)
      • --target-language (default: de)

About

Command-line tool to translate language files using DeepL

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%