Skip to content

🐛 Localization: Address fields fail to adapt to DACH standards and country values remain in English #1174

@justusweigmann

Description

@justusweigmann

Describe the bug
During the checkout process (Step 1: Details), the "Rechnungsadresse" (Billing Address) form fails to adapt to local address formatting standards and lacks full localization. Specifically, the form enforces a US-style layout (City, State/Region, ZIP) even for German addresses. Furthermore, the country values inside the dropdown menu are not localized into the active UI language (showing the English word "Germany" instead of the German word "Deutschland", despite the rest of the page being in German).

To Reproduce
Steps to reproduce the behavior:

Select a ticket for an event and proceed to the checkout page.

Ensure the UI language is set to German.

Scroll down to the 'Rechnungsadresse' (Billing Address) section.

Look at the field arrangement (Stadt, Staat oder Region, Postleitzahl).

Check the 'Land' (Country) dropdown menu.

See error: The layout follows US standards, "Staat oder Region" is a required field, and the country is listed in English ("Germany").

Expected behavior

Dynamic Address Formatting: The form fields should adapt to the standard of the selected country. For Germany (DACH region), the Postal Code ("Postleitzahl") should come before the City ("Stadt"). Additionally, the "Staat oder Region" (State/Province) field should either be hidden or made optional, as it is not typically used for German mail.

Localized Dropdown Values: The country names in the dropdown list should match the active UI language. If the user interface is in German, the dropdown should display "Deutschland" instead of "Germany".

Screenshots
Please see attached:

Image

(Shows the incorrect field order, the required state field, and the unlocalized "Germany" dropdown value).

Logs
No console errors or failed network requests are generated. This is purely a UI/UX and localization issue.

Desktop (please complete the following information):
OS: macOS
Browser: Firefox
Version: 148.0.2 (aarch64)

Hi.Events Version and platform
Version: v1.8.0
Platform: Docker - all-in-one

Additional context
Forcing users in the DACH region to enter a state/region causes friction during checkout, as this is highly uncommon for local addresses. The mixed languages (German UI with English country names) also break the immersion of a localized checkout experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions