Properly pass langcode from contact message

Created on 7 May 2015, about 10 years ago
Updated 17 May 2025, 1 day ago

When #2289063: Change contact message entity to behave more like a normal entity β†’ was done, it missed adding the langcode. This has caused an issue β†’ in the contrib Contact Storage module. On Berdir's suggestion, I added the langcode to the Message class as per this change record β†’ . This fixes the issue in Contact Storage.

The ContactForm entity doesn't have a langcode, either, but I am not clear if it is supposed to so did not add one. I can add one if that should have one, too.

πŸ› Bug report
Status

Postponed

Version

11.0 πŸ”₯

Component

contact.module

Created by

πŸ‡ΊπŸ‡ΈUnited States michelle Wisconsin, USA

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024