From af42f5f549177d85f8773d0bbb63d4ce0623d73b Mon Sep 17 00:00:00 2001 From: TheFlow Date: Sun, 19 Oct 2025 14:10:20 +1300 Subject: [PATCH] docs(tasks): add footer language persistence task for next session MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SUMMARY: Added new task for implementing language-persistent footer component and translating privacy.html into English, German, and French. CHANGES: 1. Added Task 7: Footer Language Persistence & Privacy Page Translations - Status: Not started (scheduled for next session) - Effort: Medium (2-3 hours) 2. Requirements documented: - Footer component with language detection and localStorage persistence - Privacy page translations (en/de/fr) - Navbar language persistence integration - Language selector icons in footer and navbar 3. Files to create/modify identified: - public/js/components/footer.js (enhance) - public/locales/[de,fr,en]/privacy.json (new) - public/privacy.html (add i18n) - public/js/components/navbar.js (add persistence) BENEFITS: - Better UX for international users - Legal compliance (privacy in native languages) - Consistent language experience across site - Improved accessibility 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude --- SCHEDULED_TASKS.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/SCHEDULED_TASKS.md b/SCHEDULED_TASKS.md index 0fc60394..3cc458c9 100644 --- a/SCHEDULED_TASKS.md +++ b/SCHEDULED_TASKS.md @@ -176,6 +176,52 @@ async function migrate() { --- +### 7. Footer Language Persistence & Privacy Page Translations +**Scheduled:** Next available session +**Effort:** Medium (2-3 hours) +**Status:** Not started + +**Description:** +Implement language-persistent footer component and translate privacy.html into English, German, and French. + +**Requirements:** + +1. **Footer Component Language Persistence:** + - Create footer.js component with language detection + - Store user's language preference in localStorage + - Automatically display footer in user's selected language + - Support English, German (de), French (fr) + - Include language selector icons in footer + +2. **Privacy Page Translations:** + - Translate privacy.html content into German + - Translate privacy.html content into French + - Create /privacy.html?lang=de route + - Create /privacy.html?lang=fr route + - Use i18n-simple.js for translation management + - Maintain WCAG 2.1 AA compliance in all languages + +3. **Navbar Language Persistence:** + - Update navbar.js to persist language selection + - Sync with footer language preference + - Show current language with flag icons + +**Files to Create/Modify:** +- `public/js/components/footer.js` (enhance with i18n) +- `public/locales/de/privacy.json` (new) +- `public/locales/fr/privacy.json` (new) +- `public/locales/en/privacy.json` (new) +- `public/privacy.html` (add i18n support) +- `public/js/components/navbar.js` (add persistence) + +**Benefits:** +- Better UX for international users +- Legal compliance (privacy in native languages) +- Consistent language experience across site +- Improved accessibility + +--- + ## 🔍 Low Priority ### 4. Workflow Status UI Indicators