wp-i18n-audit
Installation
SKILL.md
WordPress i18n audit
A focused review of translation correctness in WP plugin or theme PHP. Catches the boring mistakes that cause .pot extraction to break, translators to ship wrong files, or strings to silently fail to translate at runtime.
When to use this skill
Trigger when:
- The user is preparing a plugin or theme for release, especially for wp.org.
- A translator has reported missing or broken strings.
- The user is adding new user-facing strings.
- The user is migrating from one text-domain to another.
- The diff contains:
__(,_e(,_n(,_x(,_nx(,_ex(,esc_html__(,esc_html_e(,esc_attr__(,esc_attr_e(,translate(,load_plugin_textdomain,load_theme_textdomain,Text Domain:.
How to run the audit
Work through the checks below. For each finding, produce: