Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296241

CKEditor 5 toolbar configuration not show buttons in Spanish installation due to broken HTML in translation

$
0
0

Problem/Motivation

After a new installation of Drupal 10.1.2 in Spanish, the Full HTML Toolbar configuration for CKEditor 5 does not show the buttons, but rather tags.
The same error occurs in Drupal 9.5.10 in Spanish.

Steps to reproduce

Install Drupal 10.1.2 in spanish and go to admin/config/content/formats/manage/full_html

Proposed resolution

Show available buttons as in English.

Remaining tasks

The problem is the spanish translation of this string:

Cadena fuente (Inglés incorporado)
A list of HTML tags that can be used while editing source. It is only necessary to add tags that are not already supported by other enabled plugins. For example, if "Bold" is enabled, it is not necessary to add the <code>&lt;strong&gt;</ code> tag, but it may be necessary to add <code>&lt;dl&gt;&lt;dt&gt;&lt;dd&gt;</ code> in a format that does not have a definition list plugin, but requires definition list markup.

And the default translation is:

Una lista de etiquetas HTML que se pueden usar al editar la fuente. Solo es necesario agregar etiquetas que aún no son compatibles con otros complementos habilitados. Por ejemplo, si está habilitado "Negrita", no es necesario agregar la etiqueta <code><strong></ code>, pero puede ser necesario agregar <code><dl><dt><dd></ code> en un formato que no tiene un complemento de lista de definiciones, pero requiere marcado de lista de definiciones.

The actual translation should be:

Una lista de etiquetas HTML que se pueden usar al editar la fuente. Solo es necesario agregar etiquetas que aún no son compatibles con otros complementos habilitados. Por ejemplo, si está habilitado "Negrita", no es necesario agregar la etiqueta <code>&lt;strong&gt;</ code>, pero puede ser necesario agregar <code>&lt;dl&gt;&lt;dt&gt;&lt;dd&gt;</ code> en un formato que no tiene un complemento de lista de definiciones, pero requiere marcado de lista de definiciones.

(I had to add an extra space in the closing code inside the text so that d.o renders it correctly, the extra space needs to be removed in the actual text.)

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 296241

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>