API reference / @localizer/translate / translation
Constant: translation experimental
const
translation:ValueFormatter
<TranslationMap
>
Defined in: translate.ts:129
A translation function that returns a localized string based on the provided translation map.
This function can be used to create localized strings for various locales, falling back to a default translation if the specific locale is not available.