Turns a LocalizedMessage or LocalizedException into a plain string for the requested locale, replacing {{placeholder}} tokens with values from target.params.
{{placeholder}}
target.params
Falls back to target.defaultLocale, then to an empty string.
target.defaultLocale
Message or exception to resolve.
Optional
Desired locale (e.g. 'fr'). Defaults to target.defaultLocale.
'fr'
Translated string with placeholders interpolated.
Turns a LocalizedMessage or LocalizedException into a plain string for the requested locale, replacing
{{placeholder}}tokens with values fromtarget.params.Falls back to
target.defaultLocale, then to an empty string.