Loki_AutoTranslatorCommand

PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Integration Tests 20
PHPStan 4
Magento PHPCS 9
Latest Release 1.0.0

Magento version PHP version License Latest Version

This Magento 2 module is an add-on package to the Loki environment.

Features

  • Translation of i18n language files via the DeepL API;
  • Widget in the backend to check for DeepL API usage;
  • Automatic delay when DeepL API gives a rate limit error;
  • Support for translating strings in batches (where the batch number is configurable via the command line);
  • Verbose output;

Installation

Install this package via composer:

composer require loki/magento2-auto-translator-command

Next, enable this module:

bin/magento module:enable Loki_AutoTranslatorCommand

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/Loki_AutoTranslatorCommand.git

Configuration Options

The following options of this module can be configured via the Store Configuration:

Translation > DeepL API Key
loki_auto_translator_command/translation/deepl_api_key
Translation > DeepL Usage
loki_auto_translator_command/translation/deepl_usage
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Magento_Backend Magento_Config Magento_Csp Magento_Directory Magento_Store Magento_Theme
Composer details
Magento module name
Loki_AutoTranslatorCommand
Composer name
loki/magento2-auto-translator-command
Composer version
No release yet
Default branch
main
Requirements
ext-json: *
magento/framework: ^103.0
magento/module-backend: ^102.0
magento/module-config: ^101.0
magento/module-store: ^101.0
symfony/console: ^5.0 | ^6.0 | ^7.0
php: >=8.2 <8.6
Releases
1.0.0 10 September 2026
Changelog

[1.0.0] - 01 September 2026

  • Initial release

Fixed

  • Rewrite DeepL admin widget to plain JS to allow for Nebula compat
  • Symfony 7 compatibility

Last modified: August 25, 2026