Problem
The "Account administration pages" detection method in core is confusingly named. It is to make it possible to browse admin pages in the language the admin choose for admin pages specifically. So it is set on a per-account level, but is not for setting a language to access the account editing or settings pages. The name is very confusing.
Proposal
Figure out a better name.
Steps to Reproduce
- instal clean drupal 8
- under extend, enable language module
- go to Home -> Menu -> Configuration -> Languages. Then "Detection and Selection Tab", or admin/config/regional/language/detection
Comments
Comment #1
Gábor HojtsyI think this is a novice issue, we just need to find a better name.
Comment #2
quietone CreditAttribution: quietone commentedThe language detection methods are at http://"server"/index.php/admin/config/regional/language/detection
Or, Home -> Menu -> Configuration -> Languages. Then "Detection and Selection Tab".
The text referred to is the 5th item down in the "Detection Method" column, "Account administration pages".
Comment #3
YesCT CreditAttribution: YesCT commented@quietone That is awesome! It will help others get oriented to this issue.
I think it might help, to also get a screenshot (or copy exactly the words) from the account settings page where people (users) can pick their language preference.
Next: a patch to change the words... I'm hoping looking at the user edit page will help us pick some good words.
Comment #4
Gábor HojtsyYeah so I think the "Account administration pages" wording used here makes it totally look like its for the pages where you administer accounts :) Not for the pages where you administer *whatever* but the language setting for these is per account.
Comment #6
Gábor HojtsyThis is how the feature looks on the user editing page. I think the label is fine there, but improvements welcome on that too :) What is very confusing is the label on the configuration form that was screenshot above in #2 (thanks @quietone).
Comment #7
YesCT CreditAttribution: YesCT commentedSo accounts have two Language settings
Site language
Administration pages language
In the detection settings,
those are in the table as:
Account
Account site language setting.
Account administration pages
Account administration pages language setting.
They are the two rows that do not have a "Configure" operations. Because it's configured per user in their when editing their account.
Most rows leave out the implied 'language', like: Session language, Browser language
I'm not sure what words to suggest.
Just brainstorming:
1
just account. This makes two rows with the same bold label in the first column and have to read the description to know what it is the difference.
Account
Account site language setting.
Account
Account administration pages language setting.
2
Account setting
Account site language setting.
Account setting for administration pages
Account administration pages language setting.
[that's really long]
3
Account setting
Account site language setting, configured per user.
Account setting for administration pages
Account administration pages language setting, configured per user.
[this made both the short name for the detection method and the description longer...]
---
Nothing really jumps out at me.
There is a setting somewhere that can allow users to pick what theme to use for 'administration pages'.. no. but they can pick for overlay.
also in the account settings (user/1/edit)
Administrative overlay
Use the overlay for administrative pages.
http://drupal.org/project/admin_theme
==========
... anyway, looks like the little word "for" might help
as in
Account setting for administration page
---
@quietone What do you think? You are looking at this page for the first time, right?
Comment #8
matt2000 CreditAttribution: matt2000 commentedComment #9
Gábor HojtsyI dont see why would fixing a highly misleading UI label be a feature. This issue is about changing text, not introducing any new capability at all.
Comment #10
shnark CreditAttribution: shnark commentedI changed the name to:
Account setting for administration pages
I didn't change the description
I don't know if it is the best one but it should be easy to change.
Comment #11
shnark CreditAttribution: shnark commentedthese are the steps to reproduce, I'm going to add them to the issue summary
Comment #12
Gábor HojtsyI like the proposed text change.
I think the description can be improved similarly no? Something like "Language settings for administration pages on a per-account basis." Or something in better English :D
Comment #13
YesCT CreditAttribution: YesCT commentedLike 3 in #7, also add the hint that it's per account for the Account method?
Comment #14
shnark CreditAttribution: shnark commentedI updated the description, like @Gábor Hojtsy said in comment #12.
YesCT thought that it would be good if we changed the description for the account method because its also per account.
I was trying to test it, and I couldn't find the detection and selection tab list thing
I'm not sure why, as I just changed names of things.
Comment #15
quietone CreditAttribution: quietone commentedScreenshot of patch in #14
This may help folks find the language 'detection and selection'
Comment #16
fjd CreditAttribution: fjd commentedPatch applied cleanly. Confirmed the changes as in the screenshot from #15. Changing status to 'Reviewed & tested by the community'.
Comment #17
Dries CreditAttribution: Dries commentedThe "language detection" text in #15 actually feels quite long and the description redundant. Might be the best though.
Comment #18
Gábor HojtsyI agree a more holistic fitting description would be good, the current one does not fit necessarily well with other descriptions/names.
Comment #19
IshaDakota CreditAttribution: IshaDakota commentedThis is more of a departure from the original language. I think the confusion is less with the titles itself but with the variation in sentence/phrase structure of both the titles and the descriptions. This is an attempt at uniformity as well as efficiency (i.e re-titled column header to eliminate repetition).
Screen Shot:
Also, I'm new to contributing, so if I violated any language style guides (I tried to assure that I didn't), apologies in advance!
Comment #20
IshaDakota CreditAttribution: IshaDakota commentedComment #21
fjd CreditAttribution: fjd commentedPatch applied cleanly. Confirmed the labels and descriptions match the ones show in comment #19.
Comment #22
Kristen PolThanks for updating the patch! Here's some feedback from the sprint.
Changes that aren't relevant to the current issue should be avoided.
Changes that aren't relevant to the current issue should be avoided.
Changes that aren't relevant to the current issue should be avoided.
Talked with Gabor & Cathy... let's use the 'name':
Account preference
The description is good.
Changes that aren't relevant to the current issue should be avoided.
Changes that aren't relevant to the current issue should be avoided.
Changes that aren't relevant to the current issue should be avoided.
Talked with Gabor & Cathy... let's use the 'name':
Account preference for administration pages
The description is good.
If you want to create another issue for cleaning up text/labels not relevant to this issue, you can do that.
Thanks! :)
Comment #23
Kristen PolComment #24
fjd CreditAttribution: fjd commentedCreated patch based on feedback in comment #22. Attached image of result.
Comment #25
dagmita CreditAttribution: dagmita commentedI tested it and I can see the new naming.
However, I suggest further improvements.
As minimal improvement, change 'Account preference' into 'Account preference of site language'
As it is now, it is not clear that it describes the account preference of the site language but could be any account preference. Thus, it does not differentiate from the point 'Account preference for administration pages'.
Further improvement:
To make it more clear, put the word 'language' behind the other elements too.
URL => URL language
Session => Session language
Browser => Browser language
Account preference for administration pages => Account preference for administration pages language
Comment #26
Schnitzel CreditAttribution: Schnitzel commentedI remember a discussion with Bojan that in the Detection Method we do not add the term "language" as the user is already in a language context and if we add this it's almost the same as the description clolumn. See #1756122: Better Names and Description for Language Negotiations where we already adapted the descriptions and did not touch the Names.
But I agree that 'Account preference' can be confusing, especially because there is another Name with 'Account preference' in it.
So the attached Patch changes 'Account preference' to 'Account preference for site' .
Comment #27
dagmita CreditAttribution: dagmita commentedI manually tested and the new wording is there.
Next step: Code review
Comment #28
YesCT CreditAttribution: YesCT commentedI did a quick code review. Coding style is good.
I think this is an improvement. It's not perfect yet, BUT we agree that very few people will need to change this from anything other than url detection, so I'm ok with this improvement.
Comment #30
Kristen Pol#26: drupal-account_administration_pages_confusing-1974044-26.patch queued for re-testing.
Comment #32
Kristen Pol#26: drupal-account_administration_pages_confusing-1974044-26.patch queued for re-testing.
[Note - Schnitzel and I looked at the tests that were failing and they don't have anything to do with this code. He said that if I keep retesting the patch, it might eventually be happy.]
Comment #34
Kristen Pol#26: drupal-account_administration_pages_confusing-1974044-26.patch queued for re-testing.
Comment #35
attiks CreditAttribution: attiks commentedIf this fails again, ping rfay on irc, so he can have a look.
Comment #36
patrickd CreditAttribution: patrickd commentedTest is green now, moving RTBC again as per YesCT #28
Comment #37
alexpottCommitted ebfdf7f and pushed to 8.x. Thanks!
Comment #38.0
(not verified) CreditAttribution: commentedadded steps to reproduce from comment #11