Consider following json file:
{
"button_pressed": {
"one": "You pressed button once",
"other": "You have pressed button {count} times"
},
"hello_name": "Hello {name}!"
}
The converted arb via following command has wrong format:
arb-converter to-arb ~/Downloads/json --from-hierarchical-json ~/Downloads/arb/
Output arb:
{
"@@last_modified": "2020-02-17T21:21:02.388Z",
"@@author": "arb-converter-cli",
"button_pressed": {
"one": "You pressed button once",
"other": "You have pressed button {count} times"
},
"hello_name": "Hello {name}!"
}
Whereas correct file should look more or less like follows:
{
"@@last_modified": "2020-02-17T21:21:02.388Z",
"@@author": "arb-converter-cli",
"button_pressed": "{count, plural, one{You have pressed button once} other{You have pressed button {count} times}}",
"hello_name": "Hello {name}!"
}
Is there any chance for such support?
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?