docs/Docs_To_Review/NEWS_TRANSLATION_ANALYSIS.md
The application fetches news via src/services/rss.ts.
DOMParser parses XML client-side.App.ts (allNews, newsByCategory).Legacy RSS feeds are static XML files in their original language. There is no built-in "negotiation" for language. To display French news, we must either:
Instead of forcing translation, we switch the source based on the selected language.
src/config/feeds.ts, change the simple URL string to an object: url: { en: '...', fr: '...' } or separate constant lists FEEDS_EN, FEEDS_FR.Add a "Translate" button to each news card.
Translating 500+ headlines on every load.
Hybrid Approach:
feeds.json for each locale.src/config/feeds.ts to structure it for multi-language support.rss.ts to select the correct URL based on i18n.language.