tractatus/src
TheFlow cc8600263d fix: add fallback for separate language documents in API
When requesting a translation via ?lang=de or ?lang=fr, the API now:
1. First checks for embedded translations (document.translations.de/fr)
2. Falls back to checking for separate documents with -de/-fr suffix

This allows the glossary translations (glossary-de, glossary-fr) to work
with the standard /api/documents/glossary?lang=de endpoint.

Fixes the 404 error when switching languages on /docs.html page.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 10:03:58 +13:00
..
config chore: add optimal submission timing to publication targets config 2025-10-26 11:34:27 +13:00
controllers fix: add fallback for separate language documents in API 2025-11-01 10:03:58 +13:00
middleware docs(auth): add RBAC explanation to requireRole middleware 2025-10-28 12:44:56 +13:00
models feat: add disk monitoring system for dev and production 2025-10-29 11:53:55 +13:00
routes feat: add disk monitoring system for dev and production 2025-10-29 11:53:55 +13:00
services feat: implement Deep Interlock coordination tracking in audit logs 2025-10-31 20:54:37 +13:00
utils feat(security): implement attack surface exposure prevention (inst_084) 2025-10-27 12:11:43 +13:00
server.js chore(infrastructure): improve session handoff and service initialization 2025-10-27 19:48:38 +13:00