An open API service indexing awesome lists of open source software.

https://github.com/underser/module-translation-helper

This module will allow you to grab translation files with the ability to exclude already translated ones.
https://github.com/underser/module-translation-helper

i18n magento magento2-extension magento2-extension-free magento2-module magento2-module-free magento2-plugin translation-helper

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/underser/module-translation-helper.svg?branch=master)](https://travis-ci.org/underser/module-translation-helper)
![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=square)

# 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](https://github.com/underser/)