wp-i18n-audit
CommunityEnsure WordPress i18n accuracy in plugins/themes.
AuthorLonsdale201
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wp-i18n-audit Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#wp-i18n-audit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.