diff --git a/.claude/metrics/hooks-metrics.json b/.claude/metrics/hooks-metrics.json index abb5a6f4..2ae2fc97 100644 --- a/.claude/metrics/hooks-metrics.json +++ b/.claude/metrics/hooks-metrics.json @@ -3730,6 +3730,13 @@ "file": "/home/theflow/projects/tractatus/public/koha/transparency.html", "result": "passed", "reason": null + }, + { + "hook": "validate-file-edit", + "timestamp": "2025-10-19T01:09:59.866Z", + "file": "/home/theflow/projects/tractatus/SCHEDULED_TASKS.md", + "result": "passed", + "reason": null } ], "blocks": [ @@ -3951,9 +3958,9 @@ } ], "session_stats": { - "total_edit_hooks": 362, + "total_edit_hooks": 363, "total_edit_blocks": 32, - "last_updated": "2025-10-19T01:06:30.214Z", + "last_updated": "2025-10-19T01:09:59.866Z", "total_write_hooks": 171, "total_write_blocks": 4 } 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