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
I use the createTranslator function to mock getTranslations. Unfortunately I can't get it to implement the defaultTranslationValues to translate a richtext. Therefore I always get the following error.
IntlError: FORMATTING_ERROR: The intl string context variable "bold" was not provided to the string "<bold>{name}</bold>"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I use the
createTranslator
function to mockgetTranslations
. Unfortunately I can't get it to implement thedefaultTranslationValues
to translate a richtext. Therefore I always get the following error.This is how I implemented it:
Is there a way to implement the translation values?
Beta Was this translation helpful? Give feedback.
All reactions