Register static interface strings
Register stable product-owned labels, notices, and template text during init or another bounded bootstrap hook:
add_action( 'init', static function (): void {
if ( function_exists( 'pom_translate_register_string' ) ) {
pom_translate_register_string( 'acme.account.heading', 'Your account' );
}
} );
Render with pom_translate__() or the read-only pom_translate_translate_registered_string(), then escape for the final context.
Gettext catalogs and POM Translate registered strings serve different workflows. Use WordPress gettext for software localization shipped with code. Register a value when site editors are expected to manage its site-specific target-language wording in POM Translate.
Do not register every gettext call automatically or execute registration inside a frequently repeated template loop.