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
Description
When trying to translate a string of a locale that is missing in the
resources
it returns no string even ifuseKeyIfMissing
is used. For example, if we set the language tobg
and theresources
contains{"en":{},"fr":{}}
it returns no string.Expected outcome
The translation key if
useKeyIfMissing
is set totrue
Actual outcome
undefined/no string
Steps to reproduce
resources
undefined
Browsers Affected
All