So i have this project were i'm using $.i18n internationalization-framework and I set every single expression in one unique .json file. This expression p.e:
"viewmodel-grid-Description" : "actual_language_text"
is used in a javascript file associated into a component placeholder, like this:
placeholder: $.i18n('viewmodel-grid-Description')
Right now it's over 700 lines of code because there are a lot of windows and we need to have for each window different expression even tho the actual translated text could be the same like in other expressions. This repetion is needed because the user can customize the translated text for each window the way he wants.
Do you guys know any ways to improve this json file, could i create folders and put for each window a smaller json file with only their expressions?