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

  1. Enable Spanish and Brazilian Portuguese and use a CKEditor 5 text format with Word Count enabled.
  2. Open a node or taxonomy term editor in each interface language.
  3. 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.

Command icon 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

jmcerda created an issue. See original summary.

salmonek made their first commit to this issue’s fork.

salmonek’s picture

Status: Active » Needs review

I 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-br page, labels are in Polish.

salmonek’s picture

Status: Needs review » Reviewed & tested by the community

Tested by our QA team

salmonek’s picture

Status: Reviewed & tested by the community » Fixed

Released in 1.5.7

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.