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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: