Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/luigifab/translator

A tool to extract/update translations.
https://github.com/luigifab/translator

i18n magento magento-module open-source openmage openmage-module php7 php8 redmine-plugin

Last synced: 23 days ago
JSON representation

A tool to extract/update translations.

Awesome Lists containing this project

README

        

Stop russian war. **πŸ‡ΊπŸ‡¦ Free Ukraine!**

# translator

My tool to extract translations and update translations files (CSV, YML, LANG, PO, JS) for PHP 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 / 8.3.

The `translate.conf.php` file is yours. Never use it "as is" because it contains my configuration. At the beginning of the file, there is an example with all possible options. If you like this tool, take some of your time to improve my translations, go to https://bit.ly/2HyCCEc.

### Translate module for [OpenMage](https://github.com/OpenMage/magento-lts)

* Configuration with `$updateTranslationOpenMageModule` in `translate.conf.php`
* Run `php translate.php openmage-module`

Read the examples in _translate.conf.php_ to write your own configuration.

### Translate plugin for [Redmine](https://github.com/redmine/redmine)

* Configuration with `$updateTranslationRedminePlugin` in `translate.conf.php`
* Run `php translate.php redmine-plugin`

Read the examples in _translate.conf.php_ to write your own configuration.

### Translate module for [Dolibarr](https://github.com/Dolibarr/dolibarr)

* Configuration with `$updateTranslationDolibarrModule` in `translate.conf.php`
* Run `php translate.php dolibarr-module`

Read the examples in _translate.conf.php_ to write your own configuration.

### Translate program with gettext

* Configuration with `$updateTranslationPo` in `translate.conf.php`
* Run `php translate.php po`

Read the examples in _translate.conf.php_ to write your own configuration.

### Translate website

* Configuration with `$updateTranslationWebsite` in `translate.conf.php`
* Run `php translate.php custom`

Read the examples in _translate.conf.php_ to write your own configuration.

### Translate [apijs](https://github.com/luigifab/apijs)

* Configuration with `$updateTranslationApijs` in `translate.conf.php`
* Run `php translate.php apijs`

_Internal usage._