Problem/Motivation

Follow-up from #3516264: CKEditor 5 loads all plugin translations on AJAX operations.

ckeditor5_libraries_info_alter() creates translation libraries for every langcode that Drupal knows about, which is hundreds. We can limit it to only enabled libraries, would save some memory/cache storage with the library definitions.

This might require adding a languages cache tag or similar to the library definition cache.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

catch created an issue.