dudi/src/Entity
Simon Kühn 9d4c710d2f Add DE/EN/PL i18n with browser-language detection and per-user override
- STRINGS object in app.js with all UI strings in de/en/pl
- tr() function, ldoc() locale-aware date formatting
- tpl() auto-translates data-t/data-ph/data-val attributes on clone
- app.html.twig: data-t attributes on all template static text, language picker in data menu
- locale CHAR(2) column on users table; GET /api/me returns locale; PATCH /api/me accepts locale
- setLocale() persists to API + localStorage; applyLocale() reads user.locale → localStorage → navigator.language

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 13:34:41 +02:00
..
.gitignore Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
Goal.php Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
Invite.php Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
User.php Add DE/EN/PL i18n with browser-language detection and per-user override 2026-04-30 13:34:41 +02:00
UserReset.php Add Doctrine migration to clean up legacy tables and align schema 2026-04-29 20:01:19 +02:00