def METHOD_NAME(self, languages):
    if not hasattr(settings, "ocr_supported"):
        with temp_locale(TESSERACT_LOCALE):
            # Tesseract language types:
            from tesserocr import get_languages
            _, settings.ocr_supported = get_languages()
            # log.info("OCR languages: %r", settings.ocr_supported)
    models = [c for c in alpha3(languages) if c in settings.ocr_supported]
    if len(models) > self.MAX_MODELS:
        log.warning("Too many models, limit: %s", self.MAX_MODELS)
        models = models[: self.MAX_MODELS]
    models.append("eng")
    return "+".join(sorted(set(models)))