PHPackages                             vanengers/prestashop-module-translation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. vanengers/prestashop-module-translation

ActiveLibrary[Localization &amp; i18n](/categories/localization)

vanengers/prestashop-module-translation
=======================================

Extract and translate into xlf files

v1.4(2y ago)114MITPHP

Since Oct 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vanengers/prestashop-module-translation)[ Packagist](https://packagist.org/packages/vanengers/prestashop-module-translation)[ RSS](/packages/vanengers-prestashop-module-translation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (15)Used By (0)

prestashop-module-translation
=============================

[](#prestashop-module-translation)

Extract from your PrestaShop module PHP, Twig and Smarty files and translate them with Deepl. Export them to Xlf files to be automatically imported at module installation. Uses languages locales from PrestaShop.

Requirements
------------

[](#requirements)

You need to add a custom repository to your composer.json `"repositories": [ { "type": "git", "url": "https://github.com/PrestaShopCorp/module-translation-tool.git", "symlink": false } ],`

Install
-------

[](#install)

` composer require --dev vanengers/prestashop-module-translation`

Usage
-----

[](#usage)

```
php vendor/bin/extract --extraction_dir=./path/to/ps_module --module_name=PS_MODULE --deepl_key=DEEPLAPIKEY --translate_to=de-DE,ru-RU,it-IT,es-ES,pl-PL --base_locale=en-GB

```

Optional Parameters
-------------------

[](#optional-parameters)

` --translations_config_file=./path/to/translations_config.json`
The saved translations.json file from a previous run.

`--translations_xliff_dump_folder=./path/to/ps_module/translations`
The files generated for PrestaShop, this should be inside the module/translations folder.

`--deepl_key=DEEPLAPIKEY`
A valid Deepl API key with usage leftover.

`--formality=more`
See  for formality options This option does not apply to all languages.

`--extraction_types=php,twig,smarty`
Use this to extract only certain file types.

Remarks
-------

[](#remarks)

`--translate_to=de-DE,ru-RU,it-IT,es-ES,pl-PL`
The DEEPL iso codes required format: ISO 3166-1 see: [https://en.wikipedia.org/wiki/ISO\_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)

Create your Deepl api key at DeepL
----------------------------------

[](#create-your-deepl-api-key-at-deepl)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Recently: every ~0 days

Total

14

Last Release

856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90f2324639ed35bd07704cf01a6c124478ec162147a7e60d0ca61cfd8f463a0a?d=identicon)[georgevanengers](/maintainers/georgevanengers)

---

Top Contributors

[![vanengers](https://avatars.githubusercontent.com/u/39123706?v=4)](https://github.com/vanengers "vanengers (28 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vanengers-prestashop-module-translation/health.svg)

```
[![Health](https://phpackages.com/badges/vanengers-prestashop-module-translation/health.svg)](https://phpackages.com/packages/vanengers-prestashop-module-translation)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.0k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M491](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
