underser/module-translation-helper

N/A


Keywords
magento, magento2-extension, magento2-extension-free, magento2-module, magento2-module-free, magento2-plugin
Licenses
OSL-3.0/AFL-3.0

Documentation

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.3.3 and v2.2.10 (will require at least v2.2 from you)

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