I recently noticed some console @formatjs/intl errors when in Spanish.
It take this form:
`
Error formatting message: "semver", using default message as fallback.
Locale: es-ES
MessageID: semver
Default Message: v{version}
Description: undefined
The intl string context variable "versión" was not provided to the string "v{versión}"
Error: The intl string context variable "versión" was not provided to the string "v{versión}"
`
These errors are due to variables being translated to Spanish and the UI not being able to find them anymore, so they default to English.
For example,
- The string v{version} should remain as it is, since {version} is a variable.
- Instead, it is translated as v{versión} (or v{versi\xf3n} when encoded) so the UI doesn't find it.
Another example:
- I found "Permitir {característica}" when it should remain "Permitir {feature}", since feature is a variable, not a string.
I'm fixing some of these as I find them, but I'm afraid future UI updates will overwrite them.
Please, consider the possibility of fixing this in future updates, making sure all variables remain untranslated.
Thanks.