What problem does it solve?
WordPress plugins and themes often ship with translation issues that break localization, such as mismatched text domains, incorrect or missing translation helpers, improper placeholders, and header misconfigurations that prevent translations from loading correctly in different environments.
Core Features & Use Cases
- Canonical text-domain verification across PHP translation calls to ensure runtime translations load from the correct domain.
- Static-domain enforcement and detection of dynamic or variable text domains that hinder pot extraction.
- Context and placeholders checks for _x, _n, and related helpers, including translator comments for translators.
- Load of proper translation hooks (load_plugin_textdomain / load_theme_textdomain) and header text-domain consistency checks.
- Guidance for common workflows (releases, migrations, contributor PRs) and actionable remediation steps.
- Generates a structured report detailing file, line, code excerpt, recommended Fix, and severity.
Quick Start
Run the i18n audit on a WordPress plugin or theme repository to generate a report of text-domain and translation-function issues.