Description
When trying to translate a string of a locale that is missing in the resources it returns no string even if useKeyIfMissing is used. For example, if we set the language to bg and the resources contains {"en":{},"fr":{}} it returns no string.
Expected outcome
The translation key if useKeyIfMissing is set to true
Actual outcome
undefined/no string
Steps to reproduce
- Check your resources for supported locales
- Set the language to some locale that is not in the
resources
- The result will be
undefined
Browsers Affected
All
Description
When trying to translate a string of a locale that is missing in the
resourcesit returns no string even ifuseKeyIfMissingis used. For example, if we set the language tobgand theresourcescontains{"en":{},"fr":{}}it returns no string.Expected outcome
The translation key if
useKeyIfMissingis set totrueActual outcome
undefined/no string
Steps to reproduce
resourcesundefinedBrowsers Affected
All