petite-vue-i18n
: flatJson
bug (update: actually confusion, not bug)
#2011
Labels
Status: Review Needed
Request for review comments
Reporting a bug?
petite-vue-i18n
cannot work withflatJson
enabled, but when disabled, it works fine.See #2010
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
The text was updated successfully, but these errors were encountered: