I have defined “Developer english” and one more language in the portal and when i run localazy download it creates a xx.json and a tr.json (turkish) file, but both files only contain one entry. There is 113 source keys in the portal and they are all active.
It seems extremely counterintuitive that all the keys are not downloaded - why is this even possible?
I do not know if this is related but i get this warning in the cli - which i do not understand what means - could it be related?
Performing file format conversions…
=========== WARNING, FILES OVERWRITTEN ============
You are attempting to store several downloaded files to the same target file.
This is usually undesired behavior caused by misconfigured download section.
Problem detected for translations/tr.json being target for:
lang=tr, file=file.json, type=json
lang=tr, file=en.json, type=json
lang=tr, file=xxa.json, type=json
Problem detected for translations/xxa.json being target for:
The issue here is that you have more files on Localazy, but in your `localazy.json, ’ you write them all to the same location and overwrite them. That’s why you get the error.
You need to update the download part of your configuration to embrace the file name. It would probably be better to introduce a better logic to naming files.
You can upload JSON and download it for all the languages; it’s the very basic function of Localazy.
However, you already have more files on Localazy, so I would recommend downloading them, joining them together, and reuploading or, if you don’t need them all, just removing those that are unnecessary from Localazy.
This is, indeed, the very basic functionality of Localazy.
The best would be to contact us through the intercom chat on our page and ask for a demo with my colleague Dan who will help you to achieve exactly this configuration in a couple of minutes.