@alex @tony @curtis you only need to configure it in prod.secret.exs. the following needs to be configured:
config :pleroma, Pleroma.Language.LanguageDetector, provider: Pleroma.Language.LanguageDetector.Fasttext config :pleroma, Pleroma.Language.LanguageDetector.Fasttext, model: "/usr/share/fasttext/lid.176.bin" config :pleroma, Pleroma.Language.Translation, provider: Pleroma.Language.Translation.Deepl config :pleroma, Pleroma.Language.Translation.Deepl, base_url: "https://api-free.deepl.com", api_key: "XXXXXXX-XXX-XXX-XXXXXXX-XXXX"make sure you change the location for Pleroma.Language.LanguageDetector.Fasttext to match your system which you can download from https://dl.fbaipublicfiles.com/fasttext/supervised-models/lid.176.bin