Open kas84 opened 1 year ago
Hey, I will have a look at it why it sometimes fails, but why do you want to fetch the new translations every minute?
I want to have my translations independent from my code, so I can add a key and immediately (in a minute) deploy it in my code.
Looking at the code, of the export, my bet is the sort because it shouldn't take that long to execute that code. But in any case for me, it makes more sense to execute that code every time the keys or other parameters of the export change, so you download a cached result.
As of right now, we use other tool that integrates with GitHub and I do extactly that... git pull every minute
Is there a workaround? how do you deploy you i18n files for your projects?
It normally doesn't take that long, I will have a look at it. Sorry for the troubles.
When using the CLI to download like
texterify download --project-path public/assets/i18n-texterify
sometimes, it is taking like 5-7 minutes or so, other times it just fails.Would be great if there was a way to check the last version with the CLI so I don't have to download it every time, or you could just cache the export and invalidate it when a new change occurs in a project.
Any other way on how to integrate this? I was planning on just running the download command every minute, but that doesn't seem feasible.