Skip to content

Update translations with concatenated strings #39351

Closed
@galatea-nl

Description

@galatea-nl

Symfony version(s) affected: 4.4

Description
Extraction translations from Twig fail to extract concatenated strings

How to reproduce
use the translation:update command on a template like this:
{{ ('aa' ~ 'bb')|trans }}

Possible Solution
change the TranslationNodeVisitor so it gets the concatenated strings

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