You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import type { LocalizationFailure } from './LocalizationFailure.ts';
/**
`LocalizationOptions` type enables the caller to specify the locale and translation parameters for a translation operation, or a batch of translation operations.
If `true`, skip interpolation for placeholders like `Hello {{ name }}` and return the localized message as-is. Defaults to `false`.
*/
skipInterpolation?: boolean;
/**
Whether to escape the parameters before interpolating them into the localized string. Defaults to `false`, but should be set to `true` if the parameters contain user-supplied or otherwise untrusted data.
*/
escapeParameters?: boolean;
/**
You can override the app settings for the localization failure handler by providing this function.