We currently use a flat key structure for our i18n message keys, which is becoming difficult to work with and to reorganise. I am keen to change our source file to a nested structure, but I am wondering what the effect would be on existing translations. So, for instance, if I changed:
errorDuplicateEmail: 'It looks like that email address is already in use'
to
errors: { duplicateEmail: 'It looks like that email address is already in use' }
Would all of our translations need to be added again by our translators?
We have our source file in our code as a JSON file, that gets uploaded to Localazy on deployment — does that make a difference? We don’t change the keys in the Localazy UI but in our source code.