mololab / json-translator

jsontt 💡 - AI JSON Translator with GPT + other FREE translation modules to translate your json/yaml files into other languages ✅ Check Readme ✌ Supports GPT / DeepL / Google / Bing / Libre / Argos
https://mololab.org/jsontt/npm
MIT License
465 stars 60 forks source link

Sync translation files #14

Open fatihbabacan92 opened 1 year ago

fatihbabacan92 commented 1 year ago

Is it possible to sync translation files?

Like if I were to add new values to en.json, could this library sync the new values with translations to the other files?

If not, regard this as a feature request.

ParvinEyvazov commented 1 year ago

Hi @fatihbabacan92 ,

Thank you for your request. It is not possible for now, but it sounds like an amazing feature. I will try to investigate and implement this feature as soon as I can. 🎈

rolandbodenstaff commented 1 year ago

This would indeed be an amazing feature because it saves time and every time you run the translation for example Google changes the sentence

Demetri0 commented 1 year ago

I will be surprised if it is possible since we cannot get known is some string translated or no... but just as an idea: Probably we can have some additional file that stores some kind of meta information about translated keys? (but in this case probably it should be an option, to not junk in directory when it is not needed)

ParvinEyvazov commented 1 year ago

I kind of worked on the structure of this feature.

and exactly @Demetri0, the only possible way is an additional history or meta-file. That would be a great feature, but unfortunately don't have much time to implement it.