Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Translation][transChoice] issues with imploding and escaping plurals #24359

Copy link
Copy link
Closed
@Tasiobg

Description

@Tasiobg
Issue body actions
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version v3.2.0-BETA1

Changes introduced here return "|" when the plurals from a *.po file are empty strings, this happen because the PoFileLoader.php is imploding the plurals with "|" and will generate something like "||" if the translation has empty plurals strings.
The commit mentioned above understand double pipe as a escape character and act wrongly returning "|".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.