Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download from CLI takes too long and fails #140

Open
kas84 opened this issue Dec 19, 2022 · 4 comments
Open

Download from CLI takes too long and fails #140

kas84 opened this issue Dec 19, 2022 · 4 comments

Comments

@kas84
Copy link

kas84 commented Dec 19, 2022

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.

Captura de pantalla 2022-12-19 a las 19 25 47

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.

@chrztoph
Copy link
Member

Hey, I will have a look at it why it sometimes fails, but why do you want to fetch the new translations every minute?

@kas84
Copy link
Author

kas84 commented Dec 20, 2022

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

@kas84
Copy link
Author

kas84 commented Dec 20, 2022

Is there a workaround? how do you deploy you i18n files for your projects?

@chrztoph
Copy link
Member

It normally doesn't take that long, I will have a look at it. Sorry for the troubles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants