- Issue created by @qrinaldi
The Needs Review Queue Bot β tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request β . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- Merge request !12353Issue #3529265: Fix empty plural translations being incorrectly treated as valid due to delimiter β (Open) created by Unnamed author
- πΊπΈUnited States smustgrave
Think something went wrong with the MR
- πΊπΈUnited States smustgrave
Thanks, think we will need a test case to show how this is is an error.
- π«π·France qrinaldi
I've added a functional test to ensure the fallback behavior works correctly when plural translations are empty. The test is based on existing ones in the Locale module, particularly the pattern used in similar plural-related tests.
This is my first contribution to Drupal core β any feedback is welcome!
- π³πΏNew Zealand quietone
If this problem was discovered on a version of Drupal that is not 11.x, add that information in the issue summary and leave the version at 11.x. In Drupal core changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies β . Also mentioned on the version β section of the list of issue fields documentation.
- π«π·France qrinaldi
I've added to the issue summary that the bug was discovered on Drupal 11.1.6, as suggested.
- πΊπΈUnited States smustgrave
Instead of a new file can we extend LocalePluralFormatTest