translatepress-output-compatibility

translatepress-output-compatibility is a skill for Claude Code, Codex from Lonsdale201/wp-agent-skills. It costs 85 tokens per session (2,191 once invoked), scanned A, original, MIT.

A guide to making text and generated page content in WordPress compatible with TranslatePress, a multilingual translation plugin. It covers server-rendered text, gettext strings, JavaScript content, AJAX, REST responses, and language-aware caching.

In plain words
What is it for?
Use it when reviewing plugin or theme output, shortcodes, widgets, forms, WooCommerce content, page-builder integrations, dynamic fragments, and text that must be excluded from translation.
Why use it?
It prevents visible text from being missed by translation tools or translated when it should remain unchanged.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when reviewing plugin or theme output, shortcodes, widgets, forms, WooCommerce content, page-builder integrations, dynamic fragments, and text that must be excluded from translation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lonsdale201/wp-agent-skills/translatepress-output-compatibility
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Lonsdale201/wp-agent-skills --skill translatepress-output-compatibility
Clone the repo
git clone --depth 1 https://github.com/Lonsdale201/wp-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for translatepress-output-compatibility

README.md
[![agentmods](https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/translatepress-output-compatibility/github.svg)](https://agentmods.dev/skills/lonsdale201/wp-agent-skills/translatepress-output-compatibility)
Your own site
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/translatepress-output-compatibility"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/translatepress-output-compatibility/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for translatepress-output-compatibility

Your own site · 80×15
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/translatepress-output-compatibility"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/translatepress-output-compatibility.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,191 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00085 $0.02191
Opus 5 $0.00043 $0.01095
Sonnet 5 $0.00017 $0.00438
Haiku 4.5 $0.00009 $0.00219

Measured 9d ago against content hash 2d0cc77dbc13, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

translatepress-output-compatibility scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

translatepress/translatepress-output-compatibility/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

wp plugin list --fields=name,status,version | grep -E 'translatepress'
wp eval 'echo defined( "TRP_PLUGIN_VERSION" ) ? TRP_PLUGIN_VERSION : "missing-core";'
wp option get trp_settings --format=json
wp option get trp_add_ons_settings --format=json

TranslatePress Multilingual 3.2.1 and Business 1.8.2 are the validated versions for this skill. The Business loader blocks TranslatePress when the core version is below 2.8.7, shows a settings-redesign notice below 2.9.7, and loads add-ons from trp_add_ons_settings.

Make text discoverable

Render translatable text as real front-end text, not as opaque data:

printf(
    '<p class="myplugin-status">%s</p>',
    esc_html__( 'Your booking is confirmed.', 'myplugin' )
);

Use normal WordPress i18n functions for plugin/theme UI strings. TranslatePress can translate gettext strings, and site owners may also choose to disable TranslatePress gettext translation so .po/.mo files handle them.

Read the full file on GitHub · 199 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 199 lines · 85 tokens per session scan A 2d0cc77dbc13

Subscribe to this mod's changes

translatepress-output-compatibility is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 85 tokens to every session and 2,191 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

humanizar-texto-es

Elimina patrones de escritura típicos de IA en textos en español de España para que suenen naturales y humanos. Aplica esta skill siempre que generes, edites o revises textos en español: artículos, guías, tutoriales, emails, copy comercial, publicaciones en redes sociales, documentación, informes o cualquier prosa.…

fernandotellado/ai-skills · 119 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

json-ui

CRITICAL: Use for json-ui component rendering and development. Triggers on: json-ui, json render, component catalog, report render, HTML report, I18nString, i18n, bilingual, language switch, dual language, PaperHeader, AuthorList, Abstract, MetricsGrid, Section, Highlight, Zod schema, catalog.ts, cli.ts…

actionbook/actionbook · 118 tokens

comet-bilingual-docs

A workflow for keeping Comet documentation in Chinese and English aligned across READMEs, skills, release notes, and website pages. It preserves confirmed wording, repository structure, examples, commands, links, and configuration names.

rpamis/comet · 70 tokens

dubbing

Dub audio and video into other languages using the ElevenLabs Dubbing API (dubbingv2), preserving the original speakers' voices. Use when translating videos, podcasts, or recordings into other languages, localizing media content, reviewing or correcting dubbing transcripts and translations, or regenerating a dub after…

elevenlabs/skills · 65 tokens

iflytek-text-proofread

A tool that checks Chinese writing through iFlytek’s official document-proofreading service. It looks for spelling, punctuation, wording, factual, terminology, and sensitive-content problems.

iflytek/iFly-Skills · 88 tokens