Contributors without git suggest and vote on translations in a
self-hosted Weblate; a per-locale Reviewer accepts. TSV stays canonical
on main: a converter exports PO to a `weblate` mirror branch and imports
accepted text back as an auto-merged PR. Adds Suggestion, Vote and
Reviewer to the glossary.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ADR 0005 lists the committed Englishes (en-US, en-GB, en-CA, en-AU)
and drops the 'until the SCOWL files land' sentence; Moby stays as
the hyphenation list. Spec matches (local).
- LICENCE-<source>.txt is the name, in ADR 0004 and the spec, as the
files and craft-proof CP2.2 already use.
- ATTRIBUTION SCOWL rows: LicenseRef-SCOWL and BSD-3-Clause ids, and
Benjamin Titze's notice on every SCOWL dictionary and README row.
- language-data/README: WordCraft carry-over wording, Moby row and
the SCOWL interim line say craft-proof reads SCOWL from CP2.2.
- en-variants: encyclopedia moved into the 'both everywhere' block.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZYaSPSpH54kk7rnxD
- Release name checked with bash [[ =~ ]] (whole string), so a newline in the dispatch input
can't pass a line-by-line grep.
- concurrency group per release name (scheduled verifies share one), cancel-in-progress false.
- A manual release must run on refs/heads/main and refuses an existing language-packs-<n> tag
(gh release create ignores --target for an existing tag).
- docs: runs never overlap; a failed upload leaves a draft to delete before a rerun.
actionlint (with shellcheck 0.11.0) clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- ADR 0004: signed off by Martin Ball (GitHub benandez), craft-i18n maintainer, 2026-11-01 (still
not legal advice); the manifest holds packs; Excluded entries are recorded and never published.
- tests/language_data.rs: GATED (LGPL/MPL/LPPL/GPL/CC-BY-SA until sign-off) becomes DOWNLOAD_ONLY
(GPL family, CC-BY-SA): committed files are embedded, so MPL/LPPL may be committed unmodified.
Regression test: MPL and LPPL rows pass.
- README, ATTRIBUTION and ROADMAP say so; ATTRIBUTION credits language-data/licences/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- language-data/licences/<SPDX id>.txt (spdx/license-list-data 31846481) go into each archive as
LICENCES/<id>.txt; the checker requires a full text for every data licence id (SPDX: the
standard text; LicenseRef: a licence entry naming it) and a licence entry per locale.
- A class stricter than the licence needs requires a `note`; CC-BY-NC-SA-4.0 is allow-listed as
Excluded.
- Pinned URLs are parsed as <owner>/<repo>/<commit>/<path> (no substring match).
- Licence file names are [A-Za-z0-9._-], not leading '.'; check words must be non-empty.
- `build --only xx` fails for a locale not in the manifest.
- index.json and pack.toml gain an optional `source`/`upstream` (upstream folder at its commit).
Regression tests for each in tests/packs.rs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- CP3.1: docs/language-data-format.md (the pack contract); language-data/manifest.toml seeded from
the 2026-10-31 licence audit: 80 locales, 357 pinned files (LibreOffice/dictionaries 4f1df64b,
tex-hyphen 5684c0f5, wooorm 8cfea406, sk/cy/mn/ug upstreams), sha256 and size from the
downloaded files, SPDX licence and Licence class per file. bg, uk, ta, hr, pt-PT Download-only
(weak evidence); eu, ug Excluded.
- CP3.2: craft-i18n-tests `packs` module. Offline on every run: licence allow-list and class
per SPDX expression, pinned URLs, sha/size shape, no duplicate (locale, kind), aff+dic pairs,
licence text present, check words per locale, Excluded never published. With
CRAFT_I18N_FETCH=1: every file matches its pin, and every published pack loads through
craft-proof's affix engine (dev-dependency, benandez/craft-libs 961162a) and gets its
language-data/checks/<locale>.toml words right. 37 locales hidden with the engine gap as reason.
- CP3.3: `language-packs` bin (check, fetch, build: deterministic <locale>.tar.zst + index.json,
--base-url for a local test server) and .github/workflows/language-packs.yml (weekly verify;
tag language-packs-* or manual run publishes release assets).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- Hyphenation patterns renamed to <locale>/hyphenation.pat (ADR 0005's
fixed name), contents unchanged.
- Checker reads the Licence and class: fails empty or gated licences
(LGPL/MPL/LPPL/GPL/CC-BY-SA), any class but Embeddable, dotfiles
without a row, duplicate rows, a missing language-data/; fixture
tests for each failure.
- ADR 0004 names the WordCraft carry-over as the exception and says the
SPDX allow-lists and LICENSE files come with the manifest; ADR 0005
and README mark Moby and the ATTRIBUTION table as interim.
- integration.md: English falls back to system Hunspell; build.rs
embeds the files it names. ATTRIBUTION ru row backticks fixed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZYaSPSpH54kk7rnxD
One rule for contradictory licences (Download-only, Excluded only for
NC/ND); sign-off gate covers LGPL, MPL, LPPL and GPL; README licence
carve-out for language-data/; Consequences and Depends on sections;
ADR 0002 amended; SCOWL as LicenseRef; suite word list placement.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ADR 0004 sets the Licence classes (Embeddable, Download-only, Excluded) for
third-party spelling dictionaries and hyphenation patterns. ADR 0005 puts
Language data here and proofing code in craft-libs (craft-proof), with
English embedded and other languages as downloadable Language packs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
When an app fixes its English source text without changing the meaning, every
locale's row for the old text is renamed in <app>.tsv, or copied there from
common.tsv (the shared row stays, ADR 0003). A renamed row identical to the
shared row for the new text is dropped. Refuses a change of placeholders or
trailing ellipsis, which would need new translations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A shared row that is wrong in every app that uses it (wrong meaning, misspelling,
broken grammar, English left untranslated, wrong script) is now corrected in place
instead of overridden in each app. Preferences stay overrides; shared rows are
never deleted. Adds "Correction" to the glossary and updates the AGENTS.md rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- @msg: reject a template that can never match (unclosed {, adjacent
placeholders: craft-launcher/vectorcraft loaders) or has no literal text
(vectorcraft).
- Regional locale row identical to its base's resolved translation is an
error, only where craft-libs falls back region to base.
- Every locale needs an @id language.name row.
- Remove 21 dead vectorcraft @msg rows ('Packaged {n} file(s) in
{folder}{note}') that no app engine can match.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B5qjdPbdcyPMikAqXxAAdW
T3 of the app-wiring plan. Applies what an app changed between the last
synced SHA and --ref (merge-base three-way, so a stale branch never reverts
main), writes only to locales/<l>/<app>.tsv, never common.tsv. --check runs
the round trip. Stdlib only; tests in tools/test_sync_app.py.
docs/integration.md: the two-PR flow, cutover and catch-up before a pin
bump; clone URL now storytold/craft-i18n.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
GLOSSARY: pin, complete language, catch-up (app wiring spec).
integration.md: write embedded paths with {:?} and don't canonicalize,
so Windows builds work (Skylar's rev 3 review).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>