Display results UI in language according to locale_hr and hr config variables

Created on 18 March 2024, 3 months ago
Updated 3 April 2024, 3 months ago

Problem/motivation

Configuration settings "Interface language" (hl) and "Set interface language dynamically" (locale_hl) have no effect. The results are always returned in english.

Steps to reproduce

  1. At /admin/config/search/pages/manage/google_cse_search, advanced settings
  2. Either configuring an interface language or selecting "Set interface language dynamically"
  3. Should display the results UI in the configured language. Current behavior is to display in english UI only

Proposed resolution

Load the cse.js file with an additional url parameter matching the desired language, i.e. https://cse.google.com/cse.js?cx=xxxxx&language=fr.
This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
πŸ› Bug report
Status

Downport

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada iwayMan

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024