- Issue created by @maurizio.ganovelli
- 🇮🇳India kalpanajaiswal
The issue is not reproducible in Drupal 10.2.6
Feature is working as expected, adding few screenshots for help. - 🇮🇹Italy maurizio.ganovelli Arezzo
Thank you, for reply!
I hadn't the "Follow the user's language preference" flag active on "Detection and selection" page: I've tried with this change but only partially solves the problem. Now works but only when language prefix in not on url.
Try adding a new language, let's say French, keeping all other settings as already defined.
Visit /fr/admin/content: view is rendered in English (admin language) but if i try to click on filter ajax callback renders views in French (url language).
Attached a short screencast (i'm using Drupal 10.2.6). - 🇮🇳India kalpanajaiswal
I tried all the above mentioned steps and below are the response.
When I visit "/fr/admin/content'
One popup came, I selected englishI refreshed the page and now I selected french
- 🇮🇹Italy maurizio.ganovelli Arezzo
The popup visible on your screenshot came from Chrome auto-translation feature, if possible turn it off for the tests.
I tried with Chrome too (all previous tests are done on Firefox) but i get the same behavior you can see on screencast.
I'll try to do a debug session in next days to investigate furthermore. - 🇮🇹Italy maurizio.ganovelli Arezzo
Maybe that the problem comes from Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUserAdmin::isAdminPath. The route views.ajax with path /views/ajax is never considered as administrative, so user preferred admin language is not applied to views ajax calls.
- 🇳🇿New Zealand quietone
Fixes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies. Also, 10.2 is in security mode now.