Skip to content

Email locale should honour UI language for new registrations #5035

Description

@claudiushenrichs

Current Behavior

Registration emails are always sent in the forum's default language even if the visitor picked a different UI language before

Steps to Reproduce

  1. Have a forum set up with at least one non-English language pack
  2. Have the default language set to English
  3. Not being signed in (e.g. using incognito browsing) select a non-English language via the language picker
  4. Click "Sign up" and follow the registration flow
  5. Observe the language set email is sent in => Always English

Expected Behavior

The email language locale should reflect the user choice taken via the Ui language picker

Screenshots

No response

Environment

  • Flarum version: 2.0.0-rc.8

Output of php flarum info

No response

Possible Solution

No response

Additional Context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions