docs(snapshot): multi-lang-TODO fuer translation-inferenz

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jörg Lohrer 2026-04-28 08:21:08 +02:00
parent 49c740d908
commit 10cb0d947d
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ export function buildPostJson(
identifier: slug,
})
// TODO multi-lang: aktuell ableitung "andere sprache = en wenn lang=de, sonst de"
// funktioniert nur fuer den 2-sprachen-fall. Bei 3+ sprachen muss die lang aus dem
// referenzierten event ausgelesen werden — dafuer braucht buildPostJson zugriff
// auf den event-pool, nicht nur auf titleByDtag.
const translations: TranslationRef[] = []
for (const tag of ev.tags) {
if (tag[0] !== 'a') continue