See https://www.drupal.org/project/drupal/issues/2313309

The patch in #44 there fixes the admin language for the core toolbar menu. Since this module extends the core functionality, there should also be the case when this module is enabled.

Right now, if I apply that patch and enable the admin_toolbar module, I don't see the selected admin language code (English) on a Spanish node for instance.

Command icon 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

Nitebreed created an issue. See original summary.

adriancid’s picture

I think we need to wait until the patch arrives in the core.

chris matthews’s picture

chris matthews’s picture

Version: 8.x-1.x-dev » 8.x-2.x-dev
kiseleva.t’s picture

Provided patch adds usage of admin language for extra links.

urashima82’s picture

Update patch for 3.1.0 version.

bbu23’s picture

Add the AdminLanguageRender service for the static calls on LanguageManager from patch no.7.

mihaic’s picture

Here is updated patch to work with version 3.2 of this module.

mihaic’s picture

Update the patch for version 3.5 of the module

dydave’s picture

Version: 8.x-2.x-dev » 3.5.3

The patch from #8 is for Drupal 11, see Change record:
New language.admin_language_render service

There seems to be some activity around this in related core issue.

The patches still seem to apply.

The issue summary would need to be updated.

mihaic’s picture

Updated patch for the latest version of the module 3.6.0

dydave’s picture

Version: 3.5.3 » 3.x-dev
Category: Bug report » Feature request

Created initial merge request MR !156 above at #13 based on latest patch at #12.

  • Created new branch with issue fork from the links in the IS.
  • Checked-out branch locally and applied the patch cleanly without error.
  • Committed/pushed the changes to initial merge request.

 
Since the Tests seem to be failing ❌, the MR was set in Draft for now, since more work would be needed to integrate with the patch required for Drupal Core.

The MR in related core issue would also require some help updating and testing.

Could we requalify this issue as Feature request?
As it shouldn't register as an existing "bug" in the module since the feature is not completely integrated with Drupal Core yet.

Any feedback, comments or suggestions would be greatly appreciated.
Thanks in advance!