Skip to content

[Translate][4.2] transchoice is deprecated, new way of doing things is missing #11002

Closed
@mhujer

Description

@mhujer

transChoice method and transchoice filter are deprecated since 4.2, but the documentation does not show the example of the new way of doing things.

The note about the deprecation was added to documentation in #10973, but the examples still show the old way (using transChoice).

The example in the blogpost (https://symfony.com/blog/new-in-symfony-4-2-intlmessageformatter) is rather complicated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions