sitegeist / Sitegeist.LostInTranslation

Automatic Translations for Neos via DeeplApi
GNU General Public License v3.0
9 stars 10 forks source link

FEATURE: Translation Cache #16

Closed gradinarufelix closed 1 year ago

gradinarufelix commented 1 year ago

To prepare for the additional Eel helper I introduced a translation cache. If the exact text part has already been translated within a certain time (aka is in cache), this text part is excluded from the translation request. If all texts are found in the cache, no request is sent and the cache results are return immediately.

This PR is based on another pull-request. As soon as it is merged, this PR will be rebased to master.

mficzel commented 1 year ago

I think this should this be enabled by default.

gradinarufelix commented 1 year ago

I adapted the default configuration and the Readme