Problem/Motivation
On Drupal 11.4.8 with Plugin Pack 1.5.5, an interface-language acceptance check found the Word Count labels “Words:” and “Characters:” in English on node and taxonomy editors while the surrounding form was Spanish or Brazilian Portuguese.
Steps to reproduce / observed conditions
- Enable Spanish and Brazilian Portuguese and use a CKEditor 5 text format with Word Count enabled.
- Open a node or taxonomy term editor in each interface language.
- Inspect the word and character counter after the editor initializes.
Expected: counter labels follow the editor UI language. Observed: English labels. No content save is needed.
Investigation
The all-status translation queue search found #3453170, already fixed in an older release, and #3555722 for Emoji. CKEditor translations use their own assets rather than Drupal Locale targets. This report does not establish whether the cause is language negotiation, missing downloaded translation assets, or library discovery on the affected installation; a clean-install reproduction remains needed. Reapplying the old translation patch would not establish a fix for 1.5.5.
Requested guidance
Please confirm the supported diagnostic path for Word Count: the expected editor UI language setting, translation asset name/location for es and pt-br, and cache/download checks. If this is an integration defect, preserve translated labels when interface and content languages differ. No code patch is proposed here.
Issue fork ckeditor5_plugin_pack-3629735
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
salmonek commentedI confirm that labels were untranslated. It most probably stopped working after Drupal core started shipping all open source plugins. Previously only the ones available in core were in the vendor dir. We were downloading all translations that site supported from CDN.
I have updated the code, so it follows core in how translations are added.
Tested with pl, es ant pt-br and Word Count labels are now translated. Labels are matching the interface language, so on
/pl/node/41/translations/add/en/pt-brpage, labels are in Polish.Comment #5
salmonek commentedTested by our QA team
Comment #6
salmonek commentedReleased in 1.5.7