Problem/Motivation
Currently the registrant entity doesn't have a language associated with it. We should add one so we can capture the language used by the registrant at the time they submit the registration form. This is especially useful in multilingual websites. It will also allow us to make sure the notification mails are sent in the user's language, and event managers have a record of the language used by the registrant.
Proposed resolution
We can just set a langcode base field on the entity and let ContentEntityBase handle the heavy lifting. We should make sure to populate the language when a registrant entity is created.
On the registrant type edit form we can choose which language to apply to a newly created registrant using the familiar form options supplied by the core language module:

| Comment | File | Size | Author |
|---|---|---|---|
| #2 | registrant-language-settings.png | 23.15 KB | pfrenssen |
Issue fork recurring_events-3485904
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
pfrenssenComment #4
pfrenssenComment #6
pfrenssen