skillfed

wllegal

Hosted Weblate legal stuff

wllegal v2026.6 87.3K downloads/30d#13,807 on PyPI4
Copyleft license GPL-3.0-or-later Active released

What it is and what it does

wllegal is a Django application that bundles legal document templates and compliance infrastructure used by Weblate's hosted services. It integrates into a Weblate instance via Django's INSTALLED_APPS and overrides default templates to inject service-specific terms, privacy policies, and other legal content. The module is not a general-purpose legal framework—it is explicitly designed as a reference implementation for Weblate operators who need to customize their own legal pages, and its documents are tailored to Weblate s.r.o.'s specific services.

The package depends on Django and weblate-language-data, making it suitable only for deployments already running Weblate. It is maintained actively and supports modern Python versions, but its primary audience is system administrators and developers deploying or customizing hosted Weblate instances.

Use it for:

  • Customize legal pages on a self-hosted Weblate instance by using wllegal templates as a starting point.
  • Reference implementation for understanding how to override Weblate's default legal document templates in a Django app.
  • Ensure compliance infrastructure is in place when deploying Weblate as a hosted service.
  • Adapt legal templates to regional requirements by extending wllegal's module structure.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Django module providing legal document templates and compliance infrastructure for Weblate-based localization services.

Yes, if you are deploying or customizing a self-hosted Weblate instance and need a reference implementation for legal document templates. No, if you are using Weblate as an end user or do not need to customize legal pages. The copyleft license is standard for Weblate ecosystem packages and poses no barrier for open-source deployments, but requires source disclosure if you modify and redistribute.

Install

wllegal on PyPI

pip

pip install wllegal

uv

uv add wllegal

poetry

poetry add wllegal

Installing wllegal

Before you install

Low friction install with a wheel distribution. Active maintenance—last commit 2026-08-14, released 2026-08-06—and supports current Python versions (3.11 through 3.14).

License in practice

Licensed under GPL-3.0-or-later (copyleft). Any modifications or derivative works must also be released under a compatible open-source license; redistribution requires source code availability.

Quickstart

pip install wllegal

Then in your Django settings, add to INSTALLED_APPS before other Weblate modules:

INSTALLED_APPS.insert(0, "wllegal")

Requires Django and weblate-language-data as runtime dependencies; Python 3.11 or later.

Verify before relying

  • Whether the legal templates are suitable for jurisdictions outside Weblate s.r.o. service regions.
  • What customization hooks or extension points the module provides beyond template override.

Package facts

License GPL-3.0-or-later (copyleft)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 2 — Django, weblate-language-data
Maintenance actively maintained — 8 days since the last release
Last repo commit
First released
Downloads 87,259/month — #13,807 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: wllegal-2026.6-py3-none-any.whl

Keywords: i18n, l10n, gettext, git, mercurial, translate

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersIntended Audience :: System AdministratorsOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: InternationalizationTopic :: Software Development :: Localization

Tags

weblate legal compliance moduledjango legal document templatesweblate terms of servicehosted weblate customizationlocalization service legal setup
weblate-ecosystemdjango-plugin

More WWW/HTTP packages