Skip to content

Add locale runtime configuration#3

Merged
klaasnicolaas merged 1 commit into
mainfrom
codex/dds-006-locale-runtime
Jul 9, 2026
Merged

Add locale runtime configuration#3
klaasnicolaas merged 1 commit into
mainfrom
codex/dds-006-locale-runtime

Conversation

@klaasnicolaas

@klaasnicolaas klaasnicolaas commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Adds DDS-006 and DDS-006A locale support:

  • configures explicit en and nl locales with English as the application default
  • supports Dutch from the start through user preference, guest cookie, and browser Accept-Language detection
  • resolves each request from user preference, guest cookie, browser preference, then default
  • shares active and supported locale data with Inertia
  • adds a profile settings language selector that saves immediately on selection
  • stores users.locale directly in the initial users migration
  • documents the frontend translation bundle shape for future translated UI strings

Validation

  • vendor/bin/pint --dirty --format agent
  • php artisan test --compact tests/Feature/LocaleConfigurationTest.php tests/Feature/LocalePreferenceTest.php
  • php artisan test --compact
  • npm run lint
  • npm run types:check
  • npm run build

@klaasnicolaas klaasnicolaas marked this pull request as ready for review July 9, 2026 00:00
@klaasnicolaas klaasnicolaas force-pushed the codex/dds-006-locale-runtime branch 2 times, most recently from a8b0690 to 97b8631 Compare July 9, 2026 00:04
@klaasnicolaas klaasnicolaas force-pushed the codex/dds-006-locale-runtime branch from 97b8631 to 5ca88bd Compare July 9, 2026 00:15
@klaasnicolaas klaasnicolaas merged commit ef402c1 into main Jul 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant