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

Request to check for modifications (enhancement) #30

Open
akempes opened this issue Jul 2, 2015 · 1 comment
Open

Request to check for modifications (enhancement) #30

akempes opened this issue Jul 2, 2015 · 1 comment

Comments

@akempes
Copy link

akempes commented Jul 2, 2015

It would be nice to have a request to get the timestamp of the most recently updated phrase.

My translations are downloaded once in a while by the app, but to prevent transferring the same data over and over again I would like to do a check to see if anything has changed. When the timestamps doesn't match, I know I have to download the updated files again.

Thanks!

@QuadRatNewBy
Copy link
Contributor

Hi @akempes !

I'm not an API developer myself but how about this workaround:

  • Send request to Translation Status before each translation download.
  • If progress, string_count or word_count for this particular language and file have changed since last time - download new translation.
  • If these fields have same values - obviously, do not download.

I know, there can be situation when translation has changed, but all three of these fields still have same values (For example, you've corrected typo in one-word line). For me this downside is not so important. You can decide yourself.

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