Open
Description
Symfony version(s) affected
7.2.6
Description
Updated YAML translations using the --no-fill
option are generated with \0NoFill\0
prefix.
Given how the --no-fill
option is described in the documentation, I'd expect the translations to be empty, or this to be mentioned in the docs.
How to reproduce
Have a custom validator message in an entity
#[Assert\NotBlank(message: 'Description is mandatory')]
public string $description;
Generate translation with
bin/console translation:extract --format yaml --force --no-fill ro_RO
validators+intl-icu.ro_RO.yaml
is generated with line
'Description is mandatory': "\0NoFill\0Description is mandatory"
Possible Solution
No response
Additional Context
No response