rockschtar / wordpress-translation-manager
Composer plugin for manage (install/update/delete) WordPress translation for composer based WordPress projects
Installs: 6 315
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:composer-plugin
Requires
- php: >=7.3
- composer-plugin-api: ^1.0 || ^2.0
- ext-json: *
- ext-zip: *
Requires (Dev)
- composer/composer: ^1.0 || > 2.1.9
- phpunit/phpunit: 8.4.*
This package is auto-updated.
Last update: 2023-05-22 22:48:57 UTC
README
This package provides a composer plugin for manage (install/update/delete) WordPress translation for composer based WordPress projects
Install
- Install this package via composer:
composer require rockschtar/wordpress-translation-manager
- Define languages as
WordPress Locale Code
and wp-content directory in the extras object of your
composer.json
file.
Example:
"extra": { "wordpress-translation-manager": { "languages": [ "de_DE", "es_ES" ], "wordpress-content-directory": "web/app" }, },
Usage
Every time you install or update a package via composer install
,
composer require
or composer update
the plugin automatically updates
the translations for you specified plugins/version or wordpress core.
If you start with this on an existing composer based wordpress project
you can run composer update-wordpress-translations
to force the update
of the translations.
Credits
License
The MIT License (MIT). Please see License File for more information.