Polylang Strings Options

Register and translate plugin/theme strings and option values with Polylang 3.8.5. Covers pll_register_string admin-only behavior, pll__, pll_e, pll_esc_html__, pll_esc_attr__, pll_translate_string, string context/name strategy, multiline strings, pll_sanitize_string_translation with the 3.8 previous-value argument, PLL_Translate_Option recursive option keys, raw option protection, and why dynamic/generated strings should not be registered as source strings. Use when a plugin stores labels, email copy, settings text, widget copy, or frontend options that site admins must translate in Polylang.

Lonsdale201 Updated

File contents

Lonsdale201/wp-agent-skills/tree/main/polylang/polylang-strings-options commit e315a5ea77

Frequently asked questions

npx skillmds@latest add lonsdale201/polylang-strings-options