Merge translations from magento i18n:collect command result with current theme translations
Merge translations from magento i18n:collect command result with current theme translations. So each time you add some new translatable strings into your templates, you will be able to update your theme/module translation files automatically by running:, (*1)
Example:, (*2)
This module fix magento issue then running bin/magento i18n:pack , for some reason it just replaces your current theme/module csv translations and not merges them., (*3)
Add this to your composer.json, (*4)
"require-dev": { "sensejus/magento2-translation-merger":"1.0.0" }
Run, (*5)
composer update
or just run, (*6)
composer require sensejus/magento2-translation-merger
input-directory - Input directory of collected Magento CSV file. (Default: app/i18n/) , (*7)
output-directory - Output directory of collected Magento CSV file. (Default: app/design/frontend/base/i18n/) , (*8)
locale - Locale (Default: en_US), (*9)