Closed (outdated)
Project:
Drupal core
Version:
9.3.x-dev
Component:
javascript
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jan 2022 at 08:52 UTC
Updated:
19 Feb 2022 at 00:00 UTC
Jump to comment: Most recent
Comments
Comment #2
nod_Can you define does not work?
Do you have the string with the appropriate context in the
locales_sourcetable? Is the string translated within this particular context? (just changing the context name without retranslating after will not be enough)Comment #3
fxa commentedDoes not work... means does not do the translation.
Yes and in php the translation works fine with the t function.
Comment #4
nod_Then I'm not sure, there is nothing obvious I can think of that would do this.
We'd need to have steps to reproduce to be able to look further into it, sample js code, library declaration, how the library is attached on the page (with twig, with #library, etc.), is it loaded after an ajax call or on initial page load, etc.
Comment #5
cilefen commentedIt has been three weeks without a reply to this issue. I am closing it as outdated. If there is new information, please comment. You can reopen this issue.