cedaro / grunt-wp-i18n

Internationalize WordPress themes and plugins with Grunt.
MIT License
160 stars 25 forks source link

Makepot supports for monorepo plugins #81

Closed shivapoudel closed 4 years ago

shivapoudel commented 5 years ago

@bradyvercher How can I process POT generation for below monorepo plugins structure?

- wp-content/plugins/
----- Everest Forms
----- Everest Forms (Pro)
----- Everest Forms Mailchimp
----- Everest Forms PayPal

All sub-folder inside wp-content/plugins/ directory is handle as monorepo with Git and all have a directory called languages inside. How can I generate each directory POT using grunt makepot. If I have to list each target then more than 20+ resides and including target for each will be the heavy task, my friend :)

shivapoudel commented 4 years ago

WP CLI i18n does the required job.