read.markets/docs/superpowers/specs
Giorgio Gilestro 76f81648e5 docs: spec for Italian localization (ES/FR/DE as WIP)
Hybrid model: per-user surfaces (analyse, digest, chat) generated
directly in the target language via a "Respond in Italian" clause
appended to the system prompt. Shared content (strategic log)
generated in English as today, then post-translated and cached per
language in a new strategic_log_translations table. Translation calls
fan out in parallel with asyncio.gather so total job latency stays
bounded by max(single call).

No separate translation-model setting — DeepSeek-4-flash at $0.28/M
output is cheap enough that the routine cost is noise (~$0.005/day
with Italian only at 24 logs/day).

Users.lang VARCHAR(8) DEFAULT 'en'. Settings dropdown lists all four
options but ES/FR/DE are disabled UI-side and rejected server-side
against an ACTIVE_LANGUAGES allowlist — flipping them on later is a
one-line constant change.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-27 15:50:10 +02:00
..
2026-05-25-beta-mode-and-paid-gap-design.md docs: spec for beta indicator + paid/free gap (digests + news cap) 2026-05-25 18:06:15 +02:00
2026-05-27-llm-csv-fallback-parser-design.md docs: refine LLM-CSV spec — keep real sample row, drop user attribution 2026-05-27 11:21:43 +02:00
2026-05-27-localization-italian-design.md docs: spec for Italian localization (ES/FR/DE as WIP) 2026-05-27 15:50:10 +02:00
2026-05-27-manual-portfolio-composition-design.md docs: spec for manual portfolio composition 2026-05-27 14:23:23 +02:00