classic-theme-i18n-textdomain
Installation
SKILL.md
Classic Theme Internationalization and Text Domain
Use this when adding or reviewing translation readiness in a classic PHP theme: text domain headers, PHP strings, plural strings, context, translator comments, local .mo files, and JavaScript translations.
When to Use This Skill
- Creating or reviewing a theme
style.cssheader. - Adding visible text to templates,
functions.php, Customizer controls, menus, widgets, or comments. - Loading bundled theme translations.
- Fixing WP 6.7+ "translations loaded too early" notices.
- Auditing text domains before release.
Text Domain Header
Set the text domain in style.css.