Search box placeholder text not translating.

Created on 13 December 2023, about 1 year ago

Problem/Motivation

Search box placeholder text is not translating when switching to different language other than English.

Steps to reproduce

  1. Switch language of project/website other than English.
  2. Click on search icon in header.
  3. Search box placeholder is still showing in English.

Proposed resolution

Add Drupal.t() function in thex.js where setting the search box placeholder attribute and also need to add Drupal as dependency in theme libraries.

🐛 Bug report
Status

Needs review

Version

10.0

Component

Code

Created by

🇮🇳India lalit-jangir

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

Comments & Activities

Production build 0.71.5 2024