DEV Community
•
2026-04-19 03:40
How Loco Translate Maps Block Theme Strings in WordPress FSE
The Three Origins of Text in Block Themes
Block themes split visible text into three buckets: editor-saved content (stored in the database as block markup), theme-supplied files (patterns, template parts, and theme.json labels), and plugin domains (WooCommerce, extensions, and script translations). Loco Translate focuses on the latter two, where strings flow through gettext, while expli...