Skip to content

[Translation] %parameters% are not replaced when file is first dumped as +intl-icuand then read #35328

@ruudk

Description

@ruudk

Symfony version(s) affected: 4.4

Description
We have a FileDumper that converts messages.en.yml to messages.en.php files. Since 4.4 this file became message+intl-icu.en.php with the same content.

Upon reading these +incl-icu.php files, the %placeholder% are no longer replaced with the correct value.

Spoke with @yceruto in #35264 (comment) and he suggested this is a different issue.

How to reproduce
See commits on https://github.com/ruudk/symfony-translation-bug-poc/commits/master

Possible Solution
The FileDumper should not just add +intl-icu to files.

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy