Repository navigation
Description
Describe the bug
When a user joins an event waitlist using the Polish (pl) interface, the confirmation email is sent in English instead of Polish.
After reviewing the source code, I found that the waitlist registration form does not include the user's locale in the API request. The backend defaults to English (en) when no locale is provided.
This is particularly relevant because Polish translations for the waitlist emails already exist in backend/lang/pl.json.
The issue may also affect subsequent waitlist notifications, such as available spot offers and offer expiration emails, because the locale is stored with the waitlist entry and reused when sending notifications.
To Reproduce
Open an event with a sold-out ticket type and an enabled waitlist.
Set the interface language to Polish (pl).
Click the "Join Waitlist" button.
Complete and submit the waitlist registration form.
Check the confirmation email.
The email is sent in English despite the Polish interface language.
Expected behavior
Waitlist email notifications should use the language selected by the user when joining the waitlist.
For example, when the interface language is Polish (pl), the user should receive:
A Polish waitlist confirmation email.
A Polish notification when a spot becomes available.
A Polish notification when a waitlist offer expires.
The existing translations in backend/lang/pl.json should be used automatically.
Screenshots
Not included. The issue concerns the language of the generated email and the locale parameter in the API request.
Logs
No browser errors are required to reproduce this issue.
However, the source code indicates the following:
- Frontend - locale is missing from the request
File: frontend/src/components/modals/JoinWaitlistModal/index.tsx
The handleSubmit function sends the registration data without a locale property.
Interestingly, getClientLocale() is already imported in this component but is not used when submitting the waitlist registration.
- Backend - defaults to English
File: backend/app/Http/Actions/Waitlist/Public/CreateWaitlistEntryActionPublic.php
The backend uses:
locale: $request->input('locale', 'en')
This means that when the frontend does not provide a locale, the waitlist entry is saved with en.
- Email notifications use the stored locale
File: backend/app/Jobs/Waitlist/SendWaitlistConfirmationEmailJob.php
The email is sent using:
->locale($this->entry->getLocale())
As a result, the notification uses English even when the user registered through the Polish interface.
Desktop
OS: Windows 11
Browser: Mozilla Firefox
Version: 160
Hi.Events Version and platform
Platform: Hi.Events Cloud (official hosted service)
Version: Cloud-managed version (exact version not exposed in the interface)
Source code reviewed: main and develop branches
Additional context
Suggested fix
The frontend already imports getClientLocale() from ../../../locales.ts.
Adding the following property to the waitlist registration request should resolve the issue:
locale: getClientLocale(),
This would allow the backend to use the existing translations without requiring any changes to the email templates.
Relevant source files:
Waitlist registration frontend
Waitlist confirmation email job
It would be helpful if the same locale handling could be verified for all waitlist-related notifications.
Activity
dkgulati2611 commentedon Dec 5, 2026
Opened #1550 to send the client locale when joining the waitlist and add a Polish confirmation-email regression test.