Skip to content

chore(i18n): align Composer i18n scripts with WP-CLI#211

Open
circlecube wants to merge 1 commit into
mainfrom
fix/i18n-composer-command
Open

chore(i18n): align Composer i18n scripts with WP-CLI#211
circlecube wants to merge 1 commit into
mainfrom
fix/i18n-composer-command

Conversation

@circlecube

Copy link
Copy Markdown
Member

Summary

Align composer.json i18n scripts with current WP-CLI i18n behavior and update reusable workflow comments.

Changes

  • Remove --no-purge from wp i18n make-json (SOP: rm -f languages/*.json && kept for orphan Jed JSON cleanup).
  • Add --pretty-print to wp i18n make-php.
  • Remove i18n-mo / make-mo.
  • Add scripts-descriptions for every script (including i18n-ci-pre / i18n-ci-post).
  • reusable-translations.yml: comment fixes — i18n-ci-post produces JSON and .l10n.php, not MO.

Verification

  • composer validate
  • composer run-script --list

Made with Cursor

- Remove deprecated --no-purge from wp i18n make-json; keep rm -f languages/*.json SOP
- Add --pretty-print to wp i18n make-php
- Remove legacy i18n-mo (make-mo)
- Complete scripts-descriptions for all composer scripts
- Update reusable-translations.yml comments: JSON and .l10n.php (not MO)

Made-with: Cursor
@circlecube circlecube self-assigned this Apr 3, 2026
@circlecube circlecube requested review from desrosj and wpscholar April 3, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant