Turns a LocalizedMessage or LocalizedHttpException into a plain string for the requested locale.
{{placeholder}} tokens are replaced with matching values from target.params. Falls back to target.defaultLocale when locale is omitted. Returns an empty string when the requested locale has no translation.
{{placeholder}}
target.params
target.defaultLocale
locale
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 LocalizedHttpException into a plain string for the requested locale.
{{placeholder}}tokens are replaced with matching values fromtarget.params. Falls back totarget.defaultLocalewhenlocaleis omitted. Returns an empty string when the requested locale has no translation.