-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to using wp i18n make-pot
#80
Comments
As much as I'd like to switch over, I don't really want to make WP-CLI (and a WP installation?) a required dependency. Ideally there would be a generic PHP package that could be used by WP-CLI, as a Composer package/script, grunt-wp-i18n, and node-wp-i18n. I'm not sure if it's possible to extract the work done for the WP-CLI command at this point, but that would be killer. |
Can you explain further? |
I wasn't sure if WordPress installation was required or not to run that command, but if this becomes a wrapper for I may not be understanding what's possible since it's been awhile since I've dug through WP-CLI. Can you explain how you envision this working? |
For v2.0 of WP-CLI I refactored the package structure so that it works properly with Composer. All you need is to require the Developers don't need to have WP-CLI installed for it to work, and it will also only pull in the minimum required. |
@schlessera Very cool! That's pretty much exactly what I've wanted for cases where I use Composer but don't need Node. I'll look into what it will take to switch this over to using that package instead of the old PHP tools. |
I was also thinking that, if you don't want this Node package to have a dependency on |
The WordPress project has switched to using
wp i18n make-pot
(docs). It'd be great if this package switched over too, for two specific advantages:cc @schlessera @swissspidy
The text was updated successfully, but these errors were encountered: