Website and supporting services for Weblate, built with Django.
Part of Weblate — a privacy-respecting localization platform built on open-source foundations.
Find Weblate at https://github.com/WeblateOrg/weblate.
Create a virtual environment and install dependencies:
uv sync --dev
source .venv/bin/activateCreate weblate_web/settings_local.py to adjust your settings:
# Disable SAML login, use local
LOGIN_URL = "/admin/login/"
# Required signing key shared with the hosted infrastructure
PAYMENT_SECRET = os.environ["PAYMENT_SECRET"]
# You can also configure API keys and other things, see weblate_web/settings.py
# Do not send real e-mails, log them to the console
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"Create admin:
./manage.py createsuperuser --username admin --email noreply@weblate.orgMigrate the database:
./manage.py migrateImport subscription packages to the database:
./manage.py sync_packagesCompile MO files so that translations can be used:
./manage.py compilemessagesRun the development server:
./manage.py runserver