docs(tasks): add footer language persistence task for next session

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 <noreply@anthropic.com>
This commit is contained in:
TheFlow 2025-10-19 14:10:20 +13:00
parent e3611b1036
commit af42f5f549

View file

@ -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