Skip to content

Latest commit

 

History

History
84 lines (51 loc) · 2.01 KB

README.rst

File metadata and controls

84 lines (51 loc) · 2.01 KB
Weblate

Weblate is libre software web-based continuous localization system, used by over 2500 libre projects and companies in more than 165 countries.

Django based website for Weblate, running at <https://weblate.org/>.

Website Coverage Status Translation status License

Weblate

Find Weblate at https://github.com/WeblateOrg/weblate.

Running locally

Create virtual env and install dependencies:

uv venv .venv
source .venv/bin/activate
uv pip install -r requirements-dev.txt

Create weblate_web/settings_local.py which adjust your settings:

# Disable SAML login, use local
LOGIN_URL = "/admin/login/"

# 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 [email protected]

Migrate the database:

./manage.py migrate

Import subscription packages to the database:

./manage.py sync_packages

Compile MO files so that translations can be used:

./manage.py compilemessages

Run the development server:

./manage.py runserver