Disallowed or malformed HTML in german translation .po file

Created on 22 April 2022, almost 3 years ago
Updated 24 November 2023, over 1 year ago

Problem/Motivation

Hello everyone

When I'm using the Drush module to install Drupal and my default language is set to german I get the following error during the installation:

[error]  Import of string "<br/><u>Das Näherungsformat sollte das folgende Format haben: <strong>"40.73,-73.93<=5[Einheit]"</strong></u>, wobei der Operator auch sein kann: ><br>und [Einheit] sollte einer der folgenden Schlüsselwerte sein:</u>@units_decodes.<br><u>Hinweis:</u> Verwenden Sie Punkt (.) als Dezimaltrennzeichen, und nicht Komma (,), sonst werden die Ergebnisse nicht genau.</strong>" was skipped because of disallowed or malformed HTML. 
 [error]  Import of string "<br/>Das Format der Grenzen sollte das Format NE-Latitude,NE-Longitude,SW-Latitude,SW-Longitude haben: <strong>"40.773,-73.972,40.748,-73.984"</strong> ." was skipped because of disallowed or malformed HTML.

The same error appears when I install the module with drush. Additionally I get this warning:
> [warning] 2 disallowed HTML string(s) in files: translations://geofield-8.x-1.39.de.po.

Drupal: 9.3.12
Geofield: 1.39.0

Steps to reproduce

  1. Setup a new Drupal project
  2. Require drush and geofield
  3. Declare a dependency to geofield in the .info.yml of the profile to automatically install the module when the profile gets installed
  4. Execute "drush si
    --locale=de"

Or:

  1. Use an already installed Drupal instance
  2. Require drush and geofield
  3. Execute "drush en geofield"
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇩🇪Germany lmoeni

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024