From 10cb0d947def5121b45f55d6ce62b916e1b36e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lohrer?= Date: Tue, 28 Apr 2026 08:21:08 +0200 Subject: [PATCH] docs(snapshot): multi-lang-TODO fuer translation-inferenz Co-Authored-By: Claude Opus 4.7 (1M context) --- snapshot/src/core/post-json.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snapshot/src/core/post-json.ts b/snapshot/src/core/post-json.ts index 994bfb9..9427302 100644 --- a/snapshot/src/core/post-json.ts +++ b/snapshot/src/core/post-json.ts @@ -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