WordPress.WP.I18n.InterpolatedVariableDomain
Interpolated Variable Domain
A translation or text-domain pattern does not match WordPress internationalization expectations.
Why It Shows Up
Plugin Check found missing text domains, mismatched domains, missing translator comments, variable-only strings, placeholder issues, or deprecated translation loading patterns.
Why It Matters
Translation issues make the plugin harder to localize and can break strings for non-English WordPress users.
How to Fix
- Use the plugin slug as the text domain unless the plugin intentionally declares a different one.
- Keep translatable strings literal and move variables into placeholders.
- Add translator comments before strings with placeholders or ambiguous context.
References
Affected Plugins
| Rank | Plugin | Score | Errors | Warnings | Installs | Updated | Top Issue |
|---|---|---|---|---|---|---|---|
| #1 | WCFM – Frontend Manager for WooCommerce | 21 | 4,721 | 5,067 | 20k+ | Non Prefixed Variable Found | |
| #2 | PeproDev Ultimate Invoice | 24 | 379 | 234 | 4k+ | Output Not Escaped | |
| #3 | PeproDev WooCommerce Receipt Uploader | 33 | 325 | 49 | 1k+ | Non Singular String Literal Domain |