josseve/module-translation-helper

N/A

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 6

Type:magento2-module

v0.2.7 2024-09-11 15:20 UTC

This package is auto-updated.

Last update: 2025-06-11 16:56:23 UTC


README

Build Status PRs Welcome

Underser_TranslationHelper Magento 2 module

This module will allow you to grab translation files with the ability to exclude already translated ones.

Requirements

Magento 2 platform:

Tested on Magento v2.4.5

How to install

Run

composer require underser/module-translation-helper

./bin/magento setup:upgrade

How to use

This module will provide you i18n:translation-helper command, run

./bin/magento i18n:translation-helper --help

to see possible params and their meaning

Examples of usage

./bin/magento i18n:translation-helper --locale fr_FR  --output ./var/fr_FR.csv --all

will scan whole magento directory, and create fr_FR.csv file inside var folder. This file will contain all phrases that not translated for fr_FR locale

./bin/magento i18n:translation-helper --locale fr_FR  --output ./var/fr_FR.csv ./app/code/Vendor/Module

will scan only app/code/Vendor/Module, and create fr_FR.csv file inside var folder. This file will contain all phrases that not translated for fr_FR locale

License

MIT © 2019 Roman Sliusar