translatepress-email-notification-compatibility

Installation
SKILL.md

TranslatePress Email And Notification Compatibility

TranslatePress can translate wp_mail() subject/body, store a user's preferred language, and translate WooCommerce emails in the customer/admin language. Plugin code must render emails in a stable language context and avoid one-email-many-languages shortcuts.

When to use this skill

Trigger when ANY of the following is true:

  • A plugin/theme sends user-facing email or notification content through wp_mail(), WooCommerce emails, custom mail transports, cron, WP-CLI, webhooks, or async jobs.
  • Code renders email templates before calling wp_mail() or sends directly through an API that bypasses wp_mail().
  • The task mentions preferred user language, trp_language, trp_always_use_this_language, trp_translate(), trp_switch_language(), trp_restore_language(), trp_switch_to_preffered_language(), trp_whitelisted_shortcodes_for_wp_mail, trp_woo_email_language, WooCommerce Store API checkout emails, HPOS order meta, or "email text" in String Translation.

Baseline checks

Verify the installed stack:

Installs
1
GitHub Stars
22
First Seen
1 day ago
translatepress-email-notification-compatibility — lonsdale201/wp-agent-skills