fix: i18n locale generation + video upload/record for analysis #47

Merged
KnallerKalle merged 2 commits from fix/i18n-locale-generation into dev 2026-07-08 10:25:38 +00:00
KnallerKalle commented 2026-07-08 10:25:17 +00:00 (Migrated from github.com)
  1. i18n fix: Generated lessons were a DE/EN mix — getPrimaryMovements had ~190 lines of hardcoded English movement instructions. Replaced with i18n keys + German translations for all 8 focus areas (spine, hips, breathing, eyes, shoulders, legs, relaxation, mobility).

  2. Video upload/record: Movement analysis now has a VideoInput component with:

    • 📁 Upload: select video file (mp4/webm/mov)
    • 📹 Record: live webcam capture via MediaRecorder API
    • Once video is ready, PoseAnalyzer runs ML5 PoseNet on it
    • No backend needed — video stays client-side

Build green, 53/53 tests green. Targets dev.

1. **i18n fix**: Generated lessons were a DE/EN mix — getPrimaryMovements had ~190 lines of hardcoded English movement instructions. Replaced with i18n keys + German translations for all 8 focus areas (spine, hips, breathing, eyes, shoulders, legs, relaxation, mobility). 2. **Video upload/record**: Movement analysis now has a VideoInput component with: - 📁 Upload: select video file (mp4/webm/mov) - 📹 Record: live webcam capture via MediaRecorder API - Once video is ready, PoseAnalyzer runs ML5 PoseNet on it - No backend needed — video stays client-side Build green, 53/53 tests green. Targets dev.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Kalle/ATM!47
No description provided.