how solve this issue about new type of json for autotranslate?
Closed this issue ยท 2 comments
johnfelipe commented
https://gist.github.com/ab1bc793fd801ebf3c125520229f0584
๐ Looking for key-value inconsistencies in source files...
โโโ en.json contains 459 inconsistent key(s)
โโโ Found key-value inconsistencies in 1 file(s).
jaspisus commented
I have same problem, my keys in source JSON file have periods, and json-autotranslate refuses to process it.
I'm using command
npx json-autotranslate --type key-based --matcher i18next --input locales --config locales/key.json
๐ Looking for invalid keys in source files...
โโโ translation.json contains 829 invalid key(s)
โโโ Found invalid keys in 1 file(s)
@leolabs any sollution? :)
leolabs commented
I think I found a fix for this and just pushed a new version. Let me know if this fixes the issue on your end as well :)