wp-cli/i18n-command
Provides WP-CLI commands for WordPress internationalization: generate POT files, build JSON translations, update PO files, and check translation status from the command line. Part of the WP-CLI toolkit for automating i18n workflows.
wp-cli/i18n-command provides a set of WP-CLI commands for handling internationalization (i18n) in WordPress projects. It extracts translatable strings from PHP, JavaScript, and theme/plugin source files into POT templates, then compiles them into .po, .mo, and .json formats—streamlining the entire localization workflow from the command line.
Key features:
wp i18n make-pot — scan source and generate a .pot templatewp i18n make-json — build .json files for JavaScript translationswp i18n make-mo — compile .po files into binary .mowp i18n update-po — merge template changes into existing translationsHow can I help you explore Laravel packages today?