-
Notifications
You must be signed in to change notification settings - Fork 76
JSON Translations, key options #41
Comments
I can't wait to have this feature released. I do also need to have flat json keys instead of nested ones for my project. |
I finally implemented it by myself. Feel free to test it and give me your feed back! |
Yes, it seems to work as expected. I'll test it a little bit more and give you my response later |
@vickyvxr , after some time of usage, the only thing I would change - it's naming. And, maybe, would be great to add this option application wide, not only per project. |
Looks great, flat structure is the better name indeed. Will merge this into next release |
Thanks for these nice commens! The name is better so please change it for the next release. I didn't add the option to the whole application because I didn't know if it was interesting, if @jcbvm doesn't add it I will do it. |
@vickyvxr I will also add it to the global settings thanks! |
Would it be possible to add a new options when creating JSON translations files, to change the output file from:
{
"login": {
"login": "Entrar sssdds",
"password": "Contraseña",
"username": "Nombre de usuario"
}
}
To:
{
"login.login": "Entrar",
"login.username": "Nombre de usuario",
"login.password": "Contraseña"
}
It will be great to use this tool with react-intl library.
Thanks!!!
The text was updated successfully, but these errors were encountered: