Pass language to custom autocomplete

Created on 25 April 2023, over 1 year ago
Updated 7 May 2023, over 1 year ago

Problem/Motivation

I have been working on implementing a custom multilanguage autocomplete for a site. Since I am avoiding bootstrapping, I don't have access to the language ID. As such, I'd like for it to get passed along in $_GET.

Steps to reproduce

Examine $_GET parameters available in custom script, note lack of the language code.

Proposed resolution

Add the current language to the query options.

Remaining tasks

User interface changes

None.

API changes

Addition of a 'langcode' field to the parameters being passed to the custom autocomplete script.

Data model changes

โœจ Feature request
Status

Closed: won't fix

Version

1.0

Component

Plugins

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States bdragon

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

Comments & Activities

Production build 0.71.5 2024