translatepress-output-compatibility
Installation
SKILL.md
TranslatePress Output Compatibility
TranslatePress translates the rendered front-end page, plus gettext strings and dynamic strings it can detect. Build plugin/theme output as stable, accessible, server-rendered HTML first; then add explicit exclusions only for values that must never be translated.
When to use this skill
Trigger when ANY of the following is true:
- A plugin/theme must be "TranslatePress-compatible".
- User-facing text is generated by PHP templates, shortcodes, widgets, AJAX, REST, JS, WooCommerce templates, form builders, or page-builder integrations.
- Code uses dynamic labels, generated HTML fragments, language-specific caches, or strings that should be excluded from translation.
- The task mentions
data-no-translation,data-no-dynamic-translation,data-no-auto-translation,trp_no_translate_selectors,trp_no_auto_translate_selectors,trp_skip_selectors_from_dynamic_translation, gettext strings, or TranslatePress automatic translation.
Baseline checks
Verify the installed stack before debugging compatibility: