Custom language settings configuration is not saved when you have a language selector enabled for any content

Created on 26 September 2015, about 9 years ago
Updated 15 January 2024, 11 months ago

Problem

From a standard profile English clean install

  1. Enable language module
  2. Go to /admin/config/regional/content-language
  3. Check custom language settings for "Content"
  4. Check "Show language selector on create and edit pages" for Article
  5. Save configuration
  6. Uncheck custom language settings for "Content" and don't uncheck "Show language selector on create and edit pages" inside article.
  7. Save configuration

Now you can see that the last uncheck is not saved and "Content" is still checked.

What I expect is that any language customization for "Content" is disabled.

As side note when content translation module is enabled and you have content types marked as translatable when you uncheck "Content" in the custom language settings the content stops being translatable and everything gets unchecked as expected.

Proposed resolution

Fix the form submit so the settings are saved regardless of the language selector settings.

Remaining tasks

🐛 Bug report
Status

Fixed

Version

8.3 ⚰️

Component
Language module 

Last updated about 2 hours ago

  • Maintained by
  • 🇩🇪Germany @sun
Created by

🇪🇸Spain rodrigoaguilera Barcelona

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.

  • First commit to issue fork.
Production build 0.71.5 2024