-
Notifications
You must be signed in to change notification settings - Fork 1
Description
📋 Issue Type
Bug Fix - Translation Completeness
🎯 Objective
Fix evening-analysis articles that contain English section headings and body content instead of properly translated content in the target language. At least 12 articles from 2026-03-04 are affected, plus potentially earlier dates.
📊 Current State
The following evening-analysis articles contain English content in non-English versions:
Confirmed Affected Articles (2026-03-04)
| File | Issue |
|---|---|
2026-03-04-evening-analysis-da.html |
English headings and phrases |
2026-03-04-evening-analysis-no.html |
English headings and phrases |
2026-03-04-evening-analysis-fi.html |
English headings and phrases |
2026-03-04-evening-analysis-de.html |
English headings and phrases |
2026-03-04-evening-analysis-fr.html |
English headings and phrases |
2026-03-04-evening-analysis-es.html |
English headings and phrases |
2026-03-04-evening-analysis-nl.html |
English headings and phrases |
2026-03-04-evening-analysis-ar.html |
English headings and phrases |
2026-03-04-evening-analysis-he.html |
English headings and phrases |
2026-03-04-evening-analysis-ja.html |
English headings and phrases |
2026-03-04-evening-analysis-ko.html |
English headings and phrases |
2026-03-04-evening-analysis-zh.html |
English headings and phrases |
Additional Potentially Affected Dates
A broader scan shows ~25 evening-analysis articles per language contain some English content. Full audit needed for all evening-analysis dates to identify and fix all instances.
Specific Issues Found
- English section headings:
<h2>What to Watch</h2>,<h2>Key Events This Week</h2> - English analytical paragraphs: Full English paragraphs in the article body
- English meta keywords: Keywords not translated to target language
- Mixed content: Some sections translated, others left in English
🚀 Desired State
- ALL evening-analysis articles in non-EN languages have 100% translated content
- Section headings use localized CONTENT_LABELS equivalents
- Body text is fully in the target language
- Meta keywords are localized
- Zero
data-translatemarkers remain
🔧 Implementation Approach
- Audit: Scan all
news/*-evening-analysis-{lang}.htmlfiles for English content patterns - Fix: For each affected article:
- Replace English headings with CONTENT_LABELS equivalents
- Translate/rewrite English body paragraphs into target language
- Localize meta keywords
- Remove any
data-translatemarkers
- Validate: Run
npx tsx scripts/validate-news-translations.tson all fixed files
Scope Estimate
- Confirmed: 12 articles (2026-03-04)
- Estimated total: ~25 per language × 12 languages = up to ~300 articles may need fixes
🤖 Recommended Agent
agent:news-journalist — Expert in evening analysis article generation and the translation pipeline. Can regenerate articles using MCP data tools with proper language targeting.
✅ Acceptance Criteria
- All evening-analysis articles audited for English content
- Confirmed affected articles (2026-03-04 minimum) fully translated
- Section headings in target language
- Body paragraphs in target language
- Meta keywords localized
- Translation validation passes
- RTL support verified for ar/he versions
📚 References
- Evening analysis workflow:
.github/workflows/news-evening-analysis.md - Content labels:
scripts/data-transformers/constants/content-labels-part1.ts,content-labels-part2.ts - Translation validator:
scripts/validate-news-translations.ts - Article template:
scripts/article-template/template.ts
🏷️ Labels
type:bug, component:i18n, component:news, translation, evening-analysis, priority-high