Drupal Version
* Drupal version » 9.5.2
* PHP version » 8.1.14
* Drush version » 11.4.0
Domain module version
* "drupal/domain": "^1.0@beta"
Expected Behavior
* That the module respects the content language.
Actual Behavior
* Module respects the interface language.
Steps to reproduce
* /en/admin/config/regional/language/detection
* Enable "Customize Content language detection to differ from Interface text language detection settings"
* Change the order in "Content language detection", so another language is displayed when logged of or when ur visiting in inkognito mode.
* If you try to load the configuration now you will notice that it will load the language based on the interface language which is wrong.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 3339990-7-language-detection.patch | 3.2 KB | alexrayu |
Issue fork domain-3339990
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
eugen zerrComment #4
eugen zerrComment #5
agentrickardThis patch seems very specific to the stated configuration steps and I have concerns that it would break other configurations.
It definitely needs a test.
Questions that need to be answered:
As far as I understand, interface changes should be limited to string translations, not actual config differences that affect behavior of the application.
Comment #6
hitchshockComment #7
alexrayu commentedFor those would need this patch for Drupal 11, here is the reworked version.
Comment #8
mably commentedNot sure to understand what you are trying to do here.
Is the problem still present with latest 3.0.x-dev version?
Unless new, valuable information is provided, this issue will be closed in 3 months.
Comment #9
mably commentedComment #10
mably commentedHaven't been able to reproduce the problem locally. Closing.