Docs-first step for the move to Django per TODO.md: framework and areas (ADR-54, WEB-01..07), SQLite WAL with separate web/worker processes (ADR-55), individual staff accounts with MFA deferred to phase C (ADR-56), distinct pause commands (ADR-57), regtest alpha with a network profile (ADR-58), framework-free PLM engine with a simulated ledger in phase A (ADR-59), Italian-only pilot (ADR-60). The site must be browsable on localhost before a domain exists (WEB-07). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
30 lines
1.0 KiB
Markdown
30 lines
1.0 KiB
Markdown
# ADR-60 — Il pilota è solo in italiano
|
|
|
|
- **Stato:** Accettata — implementazione da completare
|
|
- **Area:** Interfacce e lingue
|
|
- **Funzionalità:** WEB
|
|
- **Sostituisce (quando implementata):** parzialmente [ADR-48](ADR-48-pagine-l-utente-report-bug-7.md) e [ADR-49](ADR-49-pannello-admin-pagina-guida-tradotti.md)
|
|
|
|
## Contesto
|
|
|
|
Le pagine attuali hanno 7 lingue mantenute a mano in `i18n.js`. Il nuovo sito
|
|
riscrive tutte le schermate e i testi cambiano ancora molto.
|
|
|
|
## Decisione
|
|
|
|
**Il pilota ha testi solo in italiano**, scritti nei template Django con i
|
|
meccanismi di traduzione di Django (`gettext`) già predisposti, così le altre
|
|
lingue si aggiungono dopo senza toccare i template. Il contratto d'errore
|
|
dell'API (`code` stabile, messaggio, `params`) resta come criterio per
|
|
mappare i messaggi.
|
|
|
|
## Alternative scartate
|
|
|
|
- Mantenere le 7 lingue — raddoppia il lavoro mentre i testi cambiano.
|
|
|
|
## Conseguenze
|
|
|
|
- Le lingue straniere escono dal pilota, non dal progetto: si registra come `LIM`.
|
|
|
|
*Codice:* da implementare · *Test:* da implementare
|