sitegeist / Sitegeist.LostInTranslation

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

FEATURE: Add ignored terms #10

Closed gradinarufelix closed 2 years ago

gradinarufelix commented 2 years ago

Needs to be rebased onto master after #8 is merged!

Adds a configuration Sitegeist.LostInTranslation.DeepLApi.ignoredTerms that allows to define terms that are to be ignored by DeepL. It is a lightweight solution compared to integrating glossaries and it works by wrapping those terms in a <ignore> tag, which DeepL is told to ignore. Thereafter, the tags are removed from the translated text again.