Download the PHP package hyva-themes/magento2-i18n-csv-diff without Composer
On this page you can find all versions of the php package hyva-themes/magento2-i18n-csv-diff. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hyva-themes/magento2-i18n-csv-diff
More information about hyva-themes/magento2-i18n-csv-diff
Files in hyva-themes/magento2-i18n-csv-diff
Package magento2-i18n-csv-diff
Short Description Magento command to display all translations that are present in the first CSV file but not in the second.
License OSL-3.0
Informations about the package magento2-i18n-csv-diff
Hyvä Themes - Magento translation CSV comparison command
hyva-themes/magento2-i18n-csv-diff
This module adds the bin/magento i18n:diff-csv and i18n:translate-csv commands.
i18n:diff-csv
The command takes two CSV files as arguments.
It displays all translations that are present in the first CSV file but not in the second, based on the first colum in the files.
i18n:translate
The command takes a target language 2-letter ISO code as the argument.
It reads a Magento localization CSV dictionary from stdin, translates it using the DeepL API, and writes it to stdout.
Be sure to check the automatic translations afterwards!
Usage Examples:
-
Collect all Magento and Hyvä strings:
-
Find all Hyvä specific translations that are not part of native Magento:
-
Find all translations that are missing in a Hyvä translation file:
-
Find all translations that are in a translation file but are not used in Hyvä:
- Add new translations to an existing dictionary file.
Installation
-
Install via composer
- Enable module
Configuration
To use the Deepi18n:translate-csv command, configure your API key in the system configuration at Hyva Themes > Localization CLI > Translation > DeepL API Key.
License
This package is licensed under the Open Software License (OSL 3.0).
- Copyright: Copyright © 2020-present Hyvä Themes. All rights reserved.
- License Text (OSL 3.0): The full text of the OSL 3.0 license can be found in the
LICENSE.txtfile within this package, and is also available online at http://opensource.org/licenses/osl-3.0.php.