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,
Is there any reason why we do not use a language negotiation in this module ?
Just as a proof of concept, I wrote a module that does the job: https://github.com/drupol/administration_language_negotiation
The module is available for Drupal 7 and Drupal 8.
Here's some screenshots:
Let me know what you think about it.
Thanks.
Comment | File | Size | Author |
---|---|---|---|
screenshot-d7x 2017-01-27 15-28-31.png | 182.46 KB | Pol | |
screenshot-d7x 2017-01-27 15-28-13.png | 68.09 KB | Pol |
Comments
Comment #2
PolComment #3
donapis CreditAttribution: donapis commentedHi,
I had tried the module, but it seem administration toolbar is displayed in the default language. Not the way we want.
Comment #4
PolHi,
I think this is related to admin_menu module. I'm still trying to find a proper solution.
Comment #5
donapis CreditAttribution: donapis commentedOh i see, i'll try disable the admin_menu and see if this works.
Comment #6
PolHi,
I pushed a commit that should translate items from the administration toolbar.
Can you try and report back ?
Comment #7
donapis CreditAttribution: donapis commentedHi,
I had tried the latest commit. Unfortunately, it does not solve the problem.
Comment #8
PolHi,
Are you sure ? A couple of people already tried it and it was working. Are you sure you have the latest dev version ?
Have you configured the language negotiation properly ?
It must be the first in the list, see the screeshot.
Comment #9
donapis CreditAttribution: donapis commentedHi,
Yeah. I'm using the current dev and configured it properly.
Ok, the module is working perfect in admin pages, but if not in admin pages, let says in the front page, the administration toolbar is using the default language set.
Comment #10
PolHi,
A working fix is about to be released but before I'm releasing my module as a new project as I didn't had any feedback from the maintainer of this module.
Comment #11
Liam MorlandThere is no D8 version of this module, so I would welcome yours to be the successor in D8.
Comment #12
Liam MorlandThis is implemented in Administration Language Negotiation module.