Has anyone successfully deployed Libretranslate and the Multilingual plugin?

Continuing the discussion from LibreTranslate Plugin – Free and Open Source Translation API and Multilingual Plugin 🌐 - #122 by aerozol

I’m attempting to use the Multilingual app with Libretranslate and Discourse Translator.

  • Libretranslate working
  • Translator enabled
  • Discourse Translator working via globe icon to translate posts
  • allow user locale
  • multilingual enabled
  • multilingual content languages enabled
  • multilingual translator content tag sync
  • multilingual tag translations enforce format

What I see is multilingual content languages topic filtering enabled hides posts instead of them being visible.

Not sure what else I need to do to get Multilingual plugin to work. I am seeing these errors:

1 Like

Is your endpoint working properly? Did you test it outside Discourse? For example, if /languages returns something?

2 Likes

I’m using a hosted endpoint, which works just fine. Hoping to sort out my own arm64 instance in the linked thread so I can use it instead.

But, still not able to use multilingual plugin with the hosted instance that has been working fine for libretranslate.

1 Like

I just installed it on my computer, and it works fine on my dev instance: :thinking:

Your error suggests that the URL cannot be reached or something is blocking it, resulting in a timeout.
That’s the reason I was asking if you can use your LibTranslate API outside of Discourse. I’m not too sure what your issue is. This sounds like a connection issue with Docker, but I’m not an expert.

2 Likes

My issues appear to be because my server is arm64. See Translations on M1 crash docker container · Issue #524 · LibreTranslate/LibreTranslate · GitHub

1 Like

@Arkshine Have you tried deploying the Multilingual app as well?

1 Like

Not recently, but it worked fine when I tested it in October.

1 Like