dohliam / gasp-translator

A translation frontend for the Global African Storybook Project
https://global-asp.github.io/translator/
MIT License
2 stars 0 forks source link

Purge cached data in translator #14

Open dohliam opened 8 years ago

dohliam commented 8 years ago

Moved from this issue.

@espensj commented:

I would like a button to purge cached text in the translator. Now, if I want to translate a story to two or more languages, I have to delete the text for each text box manually.

I translated this into Spanish, but if I want to translate it into Farsi next, I have to delete box by box: screen shot 2015-11-14 at 1 32 31 pm

dohliam commented:

Great idea! This should be very simple to add.

dohliam commented 8 years ago

@espensj The only question is where to put the "clear cache" button / function. My concern is that the "average user" is most likely only going to be translating into one target language, and having an easily-accessible button that erases all their work is asking for trouble.

But there should indeed be such a feature for those of us who need it... any ideas how to implement this in a way that you can use it, but others won't accidentally stumble on it?

espensj commented 8 years ago

I think a small, discreet button/text is enough to keep it visible yet not likely to cause problems. I suggest right after the language text field.

clear cache

espensj commented 8 years ago

Better idea: Put the link after "permalink this story, or on that line: clear fields