\Drupal\l10n_packager\L10nExporter::export() is broken

Created on 27 August 2025, 2 months ago

Problem/Motivation

\Drupal\l10n_packager\L10nExporter::export() exports PO files with an invalid plural formula, so they cannot be imported.

Steps to reproduce

Export a PO file and attempt to import it on a different Drupal site. The importer will choke on the plural formula.

Proposed resolution

Fix the exported plural formula. Also remove a bunch of unnecessary (and incorrect?) quoting from the resulting PO file.

Remaining tasks

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Active

Version

3.0

Component

l10n_packager

Created by

🇩🇪Germany tstoeckler Essen, Germany

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024