E-Mail notification for Registration update not translated

Dear community, I’m on Indico-3.3.2 and we would like to have all the registration notifications in our language (Italian): this works for the registration creation email sent to the user, but the subsequent email that updates the registration (e.g. registration complete) is sent in English (my DEFAULT_LOCALE is it_IT).
Digging in the code I found this line of code in indico/modules/events/registration/notifications.py:

def notify_registration_state_update(registration, *, attach_rejection_reason=False, from_management=False)

and two lines below:

allow_session_locale=(not from_management)

So, if I’m not wrong, the email to the user will never be sent in their locale. There’s a reason for this ?

Did you set the default locale for your event?

Yes, we setup Italian language in the event settings, but without forcing it, because we could have also some non italian participants, so I’m expecting that the chosen language should be the language of the participant.

Some hints on where to look for debugging this “problem” ?

Look at the force_event_locale method in the Event model class.

IIRC the logic in an event that does not enforce locales is to ONLY force the default locale (of the event if set, otherwise of the Indico instance) nonetheless when there’s no user AND using the session locale is not allowed.