Flag ajax does not work on multilingual site with language detection based on Account administration pages enabled

Created on 20 August 2021, over 3 years ago
Updated 19 February 2025, 2 months ago

Problem/Motivation

On a multilingual site (with English as default) the Flag ajax link produces no effect if Account administration pages on the top of the list in Interface text language detection is enabled.

Steps to reproduce

1. Create a flag on a multilingual site.
2. Enable the Flag in Ajax mode on Full content view. Flagging / unflagging works as expected.
3. Now under Regional and language > Languages > Detection and selection, under the Interface text language detection table check the Account administration pages.
4. Return to full page view of any node. Flagging/unflagging does not work with the Ajax link (neither on the regular node page, nor when the link is provided through a views block).
5. Uncheck the Account administration pages checkbox, everything works as expected again.

🐛 Bug report
Status

Active

Component

Flag core

Created by

🇮🇪Ireland marksmith

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024