plugin-translations-update

SKILL.md

WordPress Plugin Translations

Manage internationalization (i18n) for WordPress plugins by extracting, translating, and compiling translation files.

Workflow

  1. Build scripts: Build the scripts using npm run build
  2. Validate setup: Read languages/ to check existing translation files
  3. Extract strings: Run composer run i18n:extract to generate .pot and update .po files
  4. Translate: Based on arguments:
    • No arguments: Update existing .po files with missing translations. Check the files for untranslated strings and provide translations.
    • With languages (e.g., de_DE fr_FR): Create .po files for specified languages if missing, then translate
  5. Compile: Run composer run i18n:compile to generate .mo, .json, and .php files

Translation Guidelines

  • Use one subtask/subagent per .po file for parallel processing
  • Ensure textdomain matches the one defined in main plugin file
  • Requires wp-cli and a working WordPress installation

Reference

For detailed i18n documentation, see i18n.

Weekly Installs
12
GitHub Stars
7
First Seen
Feb 17, 2026
Installed on
gemini-cli12
github-copilot12
codex12
kimi-cli12
amp12
opencode12