Open orestesgaolin opened 4 years ago
Alternative form of json file could be as follows (exported from POEditor):
[
{
"term": "button_pressed",
"definition": {
"one": "You pressed button once",
"other": "You have pressed button {count} times"
},
"context": "",
"term_plural": "button_pressed_pl",
"reference": "",
"comment": ""
},
{
"term": "hello_name",
"definition": "Hello {name}!",
"context": "",
"term_plural": "",
"reference": "",
"comment": ""
}
]
Ooops totally missed that feature! Good catch @orestesgaolin !
Consider following json file:
The converted arb via following command has wrong format:
arb-converter to-arb ~/Downloads/json --from-hierarchical-json ~/Downloads/arb/
Output arb:
Whereas correct file should look more or less like follows:
Is there any chance for such support?