polylang-strings-options

Installation
SKILL.md

Polylang Strings and Options

Use this skill when a plugin or classic theme has administrator-configured copy that should be translated through Polylang's Languages > Translations screen.

Do not confuse three layers:

Need Use
Static developer strings in PHP WordPress i18n: __(), _x(), etc.
Admin-configured single strings pll_register_string() plus pll__() / pll_translate_string()
Admin-configured option arrays PLL_Translate_Option

Guard and register strings

pll_register_string() exists in the public API, but the implementation only registers when PLL() is an admin object:

Installs
1
GitHub Stars
22
First Seen
1 day ago
polylang-strings-options — lonsdale201/wp-agent-skills