wp-i18n-audit - Audit WordPress plugin or theme PHP for i18n correctness
Audits WordPress plugin or theme PHP code for internationalization correctness including text domains, placeholders, plurals, and escaping.
Tags
Updated: 2026-09-23Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Determine canonical text domain
- Audit text domain consistency
- Check for variable text domains
- Check translation helper escaping
- Audit sprintf placeholder usage
- Audit plural and context functions
- Verify textdomain loading hooks
- Check plugin and theme headers
Inputs
- WordPress plugin or theme PHP files
- Plugin header or style.css file
Outputs
- Categorized i18n audit report
Requirements
- PHP 7.4 or higher
- WordPress 6.0 - 6.9
