[2.1.4]
Update libretranslate to 1.6.4
Full Changelog
Update README.md by @Koberum in https://github.com/LibreTranslate/LibreTranslate/pull/708
Take down offline instance trans.zillyhuhn.com by @ChillerDragon in https://github.com/LibreTranslate/LibreTranslate/pull/709
Updated mirrors by @vdbhb59 in https://github.com/LibreTranslate/LibreTranslate/pull/720
Reviewed the Dutch language! by @DatIsVinnie in https://github.com/LibreTranslate/LibreTranslate/pull/722
Updates - MR to merge by @vdbhb59 in https://github.com/LibreTranslate/LibreTranslate/pull/723
Upgrade Lexilang package to the last version by @urtzai in https://github.com/LibreTranslate/LibreTranslate/pull/725
Upgrade torch by @pierotofy in https://github.com/LibreTranslate/LibreTranslate/pull/726
Fixes the lexilang package for language detection
@Koberum made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/708
@vdbhb59 made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/720
@DatIsVinnie made their first contribution in https://github.com/LibreTranslate/LibreTranslate/pull/722
Ah thanks for the hint, the latest package uses virtual env now, so we had to update the docs to initialize the python venv with source /app/code/.venv/bin/activate.
The docs are now fixed https://docs.cloudron.io/apps/libretranslate/
Oh indeed, my entire answer is wrong (thanks @necrevistonnezr ).
You have to set LT_REQUIRE_API_KEY_ORIGIN=true in the configs - https://docs.cloudron.io/apps/libretranslate/#api .
@nebulon
I think Mastodon's translate button only appears if the poster has set a language for his / hear toot that's different from your language settings.
It could be that the LT API relies on the source and destination language settings that are submitted by Mastodon. That could be an explanation for the errors I received, b/c not everyone sets the language correct. Maybe the DeepL API is more flexible here.
@LoudLemur that is indeed strange, Cloudron only reports a running state if the healthcheck succeeds which for libretranslate means that the api and frontend server is up and running.