Skip to content

[Translator] Wrong formatter used #29290

@gharlan

Description

@gharlan

Symfony version(s) affected: 4.2-beta2

Description
I'm using the new +intl-icu suffix for my translation files.
After clearing cache, everything is working fine in first page call.
But with existing cache, the messages (intl format) are not converted correctly.

It is reproducible with symfony-demo (you have to update to beta2).

First call with empty cache:

screenshot 2018-11-23 11 57 24

With existing cache:

screenshot 2018-11-23 11 57 44

Additional context
I guess the bug is a result of #29220. (@nicolas-grekas)

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