Skip to content
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

Document example of how to format the --headers parameter in the i18n make-pot command #382

Closed
helgatheviking opened this issue Feb 12, 2024 · 1 comment · Fixed by #390

Comments

@helgatheviking
Copy link

The docu says it's a JSON-formatted array, but I've been fighting to get it to run via composer and can't see to figure it out. An example might be nice.... especially for the "Report-Msgid-Bugs-To" header.

@swissspidy
Copy link
Member

wp i18n make-pot wp-content/plugins/hello-world wp-content/plugins/hello-world/languages/hello-world.pot --headers='{"Report-Msgid-Bugs-To":"https://github.com/hello-world/hello-world/"}'

If you'd like to submit a PR with some examples that you think would be useful for others, we appreciate all contributions :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants