petite-vue-i18n cannot work with flatJson enabled, but when disabled, it works fine.
See #2010
TL;DR: petite-vue-i18n by default only works with a key:value (flat) json messages format, flatJson will recursively transforms a flat json key into a nested key, which will broke petite-vue-i18n when resolving messages, this is a problem of flatJson description rather than petite-vue-i18n's bug.
Reporting a bug?
See #2010petite-vue-i18n
cannot work withflatJson
enabled, but when disabled, it works fine.TL;DR:
petite-vue-i18n
by default only works with akey:value
(flat) json messages format,flatJson
will recursively transforms a flat json key into a nested key, which will brokepetite-vue-i18n
when resolving messages, this is a problem offlatJson
description rather thanpetite-vue-i18n
's bug.Expected behavior
.
Reproduction
Swapping to
vue-i18n
works fine.System Info
Screenshot
No response
Additional context
No response
Validations