wllegal
Hosted Weblate legal stuff
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 wllegaluv
uv add wllegalpoetry
poetry add wllegalInstalling 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
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
weblateWeblate is a web-based continuous localization…
copyleft · top 15,000 on PyPI
weblate-fontsProvides a curated collection of fonts packaged…
unclear · top 15,000 on PyPI
weblate-language-dataProvides language definitions, plural rules,…
permissive · top 15,000 on PyPI
weblate_schemasProvides JSON schemas that validate Weblate…
permissive · top 15,000 on PyPI
translation-finderDiscovers and identifies translation files in…
copyleft · top 15,000 on PyPI
wlcwlc is a command-line client for Weblate's REST…
copyleft · top 15,000 on PyPI
unicode-segmentation-rsProvides Unicode text segmentation (graphemes,…
unclear · top 15,000 on PyPI
ResourceBundleResourceBundle manages internationalization and…
permissive · top 15,000 on PyPI
quart_babelAdds internationalization (i18n) and…
permissive · top 15,000 on PyPI
babelBabel provides internationalization (i18n) and…
permissive · top 1,000 on PyPI