Problem/Motivation
After enabling the 'Account administration pages' setting at /admin/config/regional/language/detection, it is not clear what to do next. What actually happens is there is a field added to each user profile for 'Administration pages language'.

Steps to reproduce
- Install Drupal
- Enable Language and Interface translation
- Enable a second language
- Go to
/admin/config/regional/language/detectionand enable 'Administration pages language' - Other than the description 'Account administration pages language setting' there is no information about what this does
Proposed resolution
TBC
Remaining tasks
Agree on resolution
User interface changes
TBC
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A
Original report by hkirsman
I was trying to configure the "Account administration pages" for at least 1h (plus other language settings). I almost ditched the idea of getting this option to work. Problem is that I assumed it should work after enabling it because I had set my "Site language" on profile. I had no idea that when enabling "Account administration pages" there will magically appear a new option on the user profile page called "Administration pages language".
Maybe there should be link to profile or hint on what to configure next?
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Language detection admin pages.png | 53.63 KB | shriaas |
| #10 | language-detect-admin-pages-2811555-10.patch | 8.47 KB | shriaas |
| #4 | Screen Shot 2020-09-08 at 1.10.47 pm.png | 114.43 KB | pameeela |
Comments
Comment #2
cilefen commentedComment #4
pameeela commentedI've updated the IS to better explain the situation, but I am not sure what the appropriate resolution is.
Could it be as simple as updating the description to say "User profile setting for administration pages language." or "Allows users to configure their administration pages language."?
Comment #6
shriaasI had the same issue while trying to set up multilingual site. It could be more helpful if the description contains more information, or a status message like "You can configure the settings on your profile edit page." is displayed after enabling it, or there is a
configurebutton which takes the user to the profile page to configure the settings.Comment #7
quietone commentedI've just been playing around with those settings. All the configure buttons on the page take you to page where site configuration is done so adding a configure button here to modify your own profile just seems wrong. The description text definitely needs improvement, it really doesn't convey what enabling that option does. I don't have any suggestions for the text. Maybe ask in #ux?
Also, when this is fixed the relevant doc page should be updated, https://www.drupal.org/node/3192982.
Comment #8
benjifisherWe discussed this issue at #3205081: Drupal Usability Meeting 2021-03-26. It is pretty clear that
As a first step, we suggest that you add a link to
/admin/help/language, assuming that the Help module is enabled. The explanation there is not perfect, but it is pretty good:While you are at it, it might be a good idea to update that help page, putting the options in the same order as this page.
If you want to go further, then think of a way to improve the text on this page. There are two things we need to communicate:
Maybe we do not have to be more explicit in the UI than "administrative pages", but I am curious: does this setting affect every route that is declared as administrative? Most of the time, that means a path under
/admin/.The current text, "Account administration pages", does not convey either of these points. If you drop "Account", then it comes close to describing (2).
Personally, I think that (1) should be mentioned in the first column and (2) in the second column. I do not have any good suggestions for expressing (1) in 2-3 words.
Comment #9
shriaas@benjifisher I think column 1 can say "Administration pages"
and column 2 something like "Preferred language for administration pages(can be configured in edit profile)" .
Along with that, I strongly feel that the status message should describe what to do next eg. "You can configure administration pages language on your edit profile page." after enabling this option.
I agree with rest of the points i.e to add a link for help page and improve the help page, will create a patch for it.
Comment #10
shriaasComment #11
shriaasComment #12
quietone commentedI read the response from the usability review (#) and applied the patch and read through all the screens. My first thought is that this is so much better! And the patch does make changes for all the points in the review.
Remove added blank line.
The period is inside the tag instead of outside for the new link for detection and selection methods.'
s/pages(/pages (/. No, looking at the screen again it might be better to be similar to the text for 'User' which is 'Follow the user's language preference.' Can this be 'Follow the user's language preference for administration pages.'? That way they are consistent in style and neither refers to where to configure the settings, it is implied. shriaas2898 commented that they felt the text should include what the user can do next to configure this setting. I am not convinced (but can be) for two reasons a) the text for User doesn't have it and b) an administrator is viewing this page and it is reasonable to expect them to know that user preferences are set on user profile pages.
The issue summary needs to be updated to include, at least, the proposed resolution.
Comment #13
shriaas@quietone I will change the first two points.
I agree this will make the help text consistent, however we may need some more rephrasing, right now this one is little confusing, like what is the difference between
UserandAdministration Pagesor why changingUsersettings doesn't affectAdministration Pages?Comment #14
shriaasComment #15
quietone commentedYes, I had to read that page twice when I first saw it. And I have yet to figure out better language for 'Detection Method' and the items in that column.
Not sure I follow. If I select 'User' and not 'Administration pages' then the entire site, including admin pages, uses my preferred language.
Comment #16
shriaasOh! my bad, I was not aware of this behavior I thought
Userwill not change language for admin pages.Comment #19
anybody@Shriaas just ran into these strange namings, are you still planning to make these fixes?