{{-- Language choice on the signed-out pages (login, forgot and set password). It is kept in the session; once signed in, the account's own language is used. The current language is marked with aria-pressed and a check icon, not colour alone. --}}
@csrf
{{ __('layout.profile.language') }} @foreach (\App\Modules\Users\Domain\Enums\Locale::cases() as $locale) @php($isCurrent = $locale->value === app()->getLocale()) @endforeach