=======================================================
npm install -g yamltoxmljson
usage: yamltoxmljson ./config.json
{
"supportedLocales": ["en", "de"],
"dest": "path/to/dest/locales",
"src": "path/to/src/locales",
"type": "xml" // default would be json
}
---
en:
secure: Secure
amount: Amount
will write a JSON file like this:
en.json
{
"secure": "Secure",
"amount": "Amount"
}