No auto detect after adding a language

After import an additional language (sr - sr-en + en-sr) via argos

After adding a language (sr - sr-en + en-sr)) via the argosmodel file, the translation is available, but the auto-detection does not work.

I downloaded the files here:

After unpacking I renamed the following files:
…/stanza/hy/tokenize/armtdp.pt to
…/stanza/sr/tokenize/set.pt

Thanks for your support

Language detection is performed via GitHub - LibreTranslate/LexiLang: Simple, fast dictionary-based language detector for short texts. and langdetect. Check that we have support for sr there, and if not, consider opening a pull request to add support for it?

1 Like