Skip to content

translation_diff 1.0.0

Latest

Choose a tag to compare

@Halvanhelv Halvanhelv released this 24 Sep 16:24
567a2c0

First release under the name translation_diff (formerly deepl_diff).

Translation cache for Ruby: text is split into sentences, each sentence is cached by content, and only the sentences that changed are sent to the provider.

  • Six providers: DeepL, Google Cloud Translation, Azure AI Translator, ModernMT, LibreTranslate, Amazon Translate, plus a base class for your own.
  • Cache and rate limit in Redis or in your own database via ActiveRecord (rails g translation_diff:install).
  • HTML-aware, class="notranslate" support, strings / arrays / nested hashes in the same shape.
  • preview, isolated context, instrumentation, shipped language data with validation.

Upgrading from deepl_diff: every cache key changes. See Former name and upgrading and the CHANGELOG.