Closed agaida closed 6 years ago
What is your setting for MT_SERVICES
? Note that this has been changed in the 3.0 release, so you might be still using old setting.
# List of machine translations
MT_SERVICES = (
'weblate.machinery.weblatetm.WeblateTranslation',
'weblate.memory.machine.WeblateMemory',
# 'weblate.machinery.apertium.ApertiumAPYTranslation',
# 'weblate.machinery.deepl.DeepLTranslation',
'weblate.machinery.glosbe.GlosbeTranslation',
# 'weblate.machinery.google.GoogleTranslation',
# 'weblate.machinery.microsoft.MicrosoftCognitiveTranslation',
'weblate.machinery.mymemory.MyMemoryTranslation',
'weblate.machinery.tmserver.AmagamaTranslation',
# 'weblate.machinery.tmserver.TMServerTranslation',
# 'weblate.machinery.yandex.YandexTranslation',
# 'weblate.machinery.weblatetm.WeblateTranslation',
# 'weblate.machinery.saptranslationhub.SAPTranslationHub',
)
# Machine translation API keys
# URL of the Apertium APy server
MT_APERTIUM_APY = None
# DeepL API key
MT_DEEPL_KEY = None
# Microsoft Cognitive Services Translator API, register at
# https://portal.azure.com/
MT_MICROSOFT_COGNITIVE_KEY = None
# MyMemory identification email, see
# https://mymemory.translated.net/doc/spec.php
MT_MYMEMORY_EMAIL = 'weblate@lxqt.org'
# Optional MyMemory credentials to access private translation memory
MT_MYMEMORY_USER = None
MT_MYMEMORY_KEY = None
# Google API key for Google Translate API
MT_GOOGLE_KEY = None
# API key for Yandex Translate API
MT_YANDEX_KEY = None
# tmserver URL
MT_TMSERVER = 'https://amagama-live.translatehouse.org/'
# SAP Translation Hub
MT_SAP_BASE_URL = None
MT_SAP_SANDBOX_APIKEY = None
MT_SAP_USERNAME = None
MT_SAP_PASSWORD = None
MT_SAP_USE_MT = True
# Weblate limits
WEBLATE_LIMIT = 45
That looks correct. Maybe the index got into bad shape, can you try rebuilding it using: ./manage.py rebuild_index --all --clean
?
Seems to work, you are my hero of the day :dark_sunglasses:
Steps to reproduce
Actual behaviour
Services like Amagama, MyMemory, Glospe work fine - never get it to work with 3.0.1 - the Weblate built in don't work anymore,
Expected behaviour
I want my local machine translations back (important for having consistent translations) :) - and of course keep the external things running.
Server configuration and status
list_versions
and
check --deploy
^^ should not be related.
It might be that it is related to my upgrade from 3.0.1 to 3.1.1 - which also means an upgrade of the whole virtual environment from python2.7 to pyhton3.5 - it's highly likely that i forget something.