Files
computer-playbook/roles/web-app-weblate
kevinveenbirkenbachandClaude Opus 5 ff734fe728 feat(licensing): declare the deployed software's licence per role
The project licence governs this repository's code and says nothing about the application a role installs, which is where a restriction on commercial use usually sits: a deployment cleared to use Infinito.Nexus commercially is still barred from NLLB-200's CC BY-NC weights.

Each invokable role names its licence in meta/<role>/license.yml with the url it was read from. The rights of a named licence live once in meta/licenses.yml, fifteen fields following the taxonomy choosealicense publishes. AND folds to the strictest combination, OR keeps the most favourable whole licence, and the seven contexts are derived from the rights rather than declared, so a heading cannot contradict the matrix under it.

The generated page renders one matrix per context, a lint refuses a role that declares nothing, and a Playwright spec asserts the page against the deployed docs. 21 of 22 deprecated SPDX ids were resolved against the upstream text; EPSON's remains unread because its AUR page blocks automated access.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-10-20 23:35:00 +02:00
..
…
…

Weblate

Description

Weblate is a web-based continuous localization platform. It keeps a translation memory, glossaries and a review workflow, so a human translation can be written once, approved, and reused everywhere.

Overview

In this deployment Weblate is the memory behind the translation gateway. web-svc-translate asks Weblate first: a string with an approved translation is returned verbatim and no engine is called. Translators reach Weblate's own UI at web.translate.{{ DOMAIN_PRIMARY }}, through Keycloak when SSO is deployed.

Features

  • Translation memory: every approved string is reusable by the gateway and by other components.
  • Glossaries: terms that must survive a translation; the gateway rejects a machine answer that drops one.
  • Review workflow: a translation becomes authoritative when a reviewer approves it.
  • API access: the deploy reads the API token Weblate issued for its administrator and persists it in the token store, where the gateway reads it.

Administration

The container's entrypoint provisions the administrator as the Weblate user admin; WEBLATE_ADMIN_NAME is its display name only. The role reads that account's API token out of Weblate's own database after the deploy and writes it to sys-token-store under administrator / web-app-weblate.

Further resources