jcbvm / i18n-editor

GUI for editing your i18n translation files
MIT License
358 stars 78 forks source link

[2.0.0-beta.1] A few problems #58

Open lkjimy opened 5 years ago

lkjimy commented 5 years ago

I have a project generating .json files with its respective LOCALEs in the file name, all in a single folder. I also have configuration files in the same folder, which i suppose won't be a problem, for the app reads only the LOCALE file name and extensions. I tried to open said folder with the editor, but the app gave me an error.

I created a new project and noticed that the app generates an .i18n-editor-metadata file, which is pretty nice. After copying that file to the i18n folder in my on-going project, i was able to open the project in the app, but there was no content whatsoever. There are three files, en.json, es.json and pt-br.json, they have about a 1000 lines each (and increasing), so deleted about 750 lines from the files, and finally was able to open the folder and see the content in the app.

Another problem i found was that changes in edited keys are lost just by clicking on another key, so you would have to edit the key, save the project, and then click on another key to edit it.

TL.DR: