Problem/Motivation
Inconrrect language detected in edit pages with language context.
Steps to reproduce
Make a language detection rule with: Interface text language diff with Content language
in page /admin/config/regional/language/detection
- add new language "Chinese, Simplified"
- in Detection and selection page: configure "Selected language" for Interface text language detection and select "Chinese, Simplified"
- in Detection and selection page: check "Customize Content language detection to differ from Interface text language detection settings"
- in Detection and selection page: check "Account administration pages" for Interface text language detection and put it first priority
- in Detection and selection page: check "URL" for Interface text language detection and set prefix "" for "Chinese, Simplified", "en" for "English"
- in Detection and selection page: check "URL" for Content language detection
- Set "Administration pages language" with "English" in admin user profile
Proposed resolution
Lanugage context shloud get current language from Content language detection
Issue fork config_pages-3537982
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 #3
ipumpkinComment #5
shumer commented