Feature Request: Support for nested JSON
lyqht opened this issue · 0 comments
lyqht commented
Context
At the moment, the github action only works for JSON that's 1 level depth, for example in vue-i18n-next
{
"hello": "Hello, {name}!",
"language": "Language",
"description": "This is a wonderful world isn't it?"
}
There are certain i18n plugins that rely on nested JSON. An example from refine
{
"pages": {
"login": {
"title": "Melden Sie sich bei Ihrem Konto an",
"signin": "Einloggen",
"signup": "Anmelden",
"divider": "oder",
"fields": {
"email": "Email",
"password": "Passwort"
},
"errors": {
"validEmail": "Ungültige E-Mail-Adresse"
},
"buttons": {
"submit": "Anmeldung",
"forgotPassword": "Passwort vergessen?",
"noAccount": "Sie haben kein Konto?",
"rememberMe": "Erinnere dich an mich"
}
},
...
}
The action should support these formats out of the box without modifying the props required for the action.