strangerstudios/WordPress POT/PO/MO Generator
Generates .pot, .po, and .mo files for a WordPress plugin or theme
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| destination_path | Destination path to save generated files | no | ./languages |
| slug | Plugin or theme slug. Defaults to the GitHub repository name. | no | — |
| text_domain | Text domain to look for in the source code. Defaults to the plugin or theme slug. | no | — |
| generate_pot | Whether to generate the .pot file. Defaults to 1. | no | 1 |
| generate_po | Whether to generate the .po file. Defaults to 0. | no | 0 |
| generate_mo | Whether to generate the .mo file. Defaults to 0. | no | 0 |
| generate_lang_packs | Whether to generate the .po/.mo language packs. Defaults to 0. | no | 0 |
| merge_changes | Whether to merge changes with existing files. Defaults to 0. | no | 0 |
| headers | Additional headers in JSON format to use when generating files. Defaults to empty. | no | {} |
Outputs
no outputs