Issue with Drupal.t() in js

Created on 3 October 2024, about 2 months ago

Hello,

There is an issue with Drupal.t() function when `vite: true` is enable in libraries.

_locale_parse_js_file() function does'nt use manifest to find js file to parse.

I fixed this issue locally with an extra lib js without vite that declares the translation strings. Ideally, this function should be able to go through the manifest.

Thanks,

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇫🇷France myriam_b

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

Comments & Activities

Production build 0.71.5 2024