wcm / wp-translation-installer-plugin
Custom Composer installer to install WordPress plugin and theme translation files to custom paths.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: >=5.5
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ^1.0
This package is not auto-updated.
Last update: 2024-10-26 20:04:24 UTC
README
Custom Composer installer for WordPress theme and plugin translation files.
Installation
The package is hosted on Packagist and receives auto-updates. In the CLI, you can install by calling:
composer require wcm/wp-translation-installer-plugin
Loading translation files in themes or plugins
The best thing you - as developer - can do, is to use the provided WP API
functions without a path to a subfolder in your theme. This way, the fallback
location at wp-content/languages/{name}
will automatically be used by WP Core.