1.9 KiB
1.9 KiB
composer-plugin
This is a custom installer plugin for Composer to help with WordPress translation of Composer libraries intended for use as shared code in plugins and themes.
When this plugin is installed, libraries with type set to jetpack-library will be installed into jetpack_vendor/ instead of the usual vendor/.
Also translation text domain information will be collected from such libraries and written to jetpack_vendor/i18n-map.php.
Use in a WordPress plugin or theme
This plugin needs to be put into the require section of your composer.json file in order to be used.