Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am wondering why admin language is not used in admin menu on frontend pages.
If I switch e.g. to /admin the logout link and all other links are correctly displayed in admin language.
If I am e.g. on the front page, the admin menu uses the current language instead.
This is not a good behaviour as admin menu language should NOT change and should always use the admin language!
Any way to force this?
Comments
Comment #2
stefan.r CreditAttribution: stefan.r commentedBeta2 was broken (#2768897: Undefined variable language in admin_language_language_init()), use beta3.
Comment #4
vistree CreditAttribution: vistree commentedHi, sorry for reopening. But after being back from holiday I retested with current beta3 today. And the problem still exists!!!
If I am on a frontpage page (any node) the admin_menu switches to the language the node is in.
If I go to any admin page (having /admin/ in the URL) everything is fine (admin_menu + admin-content are in the backend language).
Is this the expected behaviour? Can we set the language of the admin_menu to a fixed value?
Comment #5
vistree CreditAttribution: vistree commentedSorry for pushing this - but does nobody else have this problem? Am I the only one where the language in admin_menu switches back to frontend language when you are on the frontend?
Comment #6
stefan.r CreditAttribution: stefan.r commentedComment #7
vistree CreditAttribution: vistree commentedHi Stefan,
any chance that there will be done some testing / development on this? admin_language is so great - but the admin_menu-frontpage problem is a real blocker for us to us it.
Comment #8
dmsmidtDuplicate of #1111592: Administration toolbar uses the default language, not the administration language
Comment #9
dmsmidtRe-opening this issue, and clarified the title. The previously mentioned issue is about the Drupal Core Toolbar. This issue is about the admin menu provided by the Administration Menu (admin_menu) module.
Comment #10
dmsmidtComment #11
dmsmidtSince it is easier to implement this the other way around (support admin_language in admin_menu) closing this again in favor of: #1498820-21: Support Administration Language module (patch available).