Content-Length: 224659 | pFad | http://github.com/symfony/symfony/issues/60710

41 [Translation] --no-fill option prefixes translations with \0NoFill\0 for intl-icu YAML translations · Issue #60710 · symfony/symfony · GitHub
Skip to content

[Translation] --no-fill option prefixes translations with \0NoFill\0 for intl-icu YAML translations #60710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
finwe opened this issue Jun 5, 2025 · 0 comments

Comments

@finwe
Copy link
Contributor

finwe commented Jun 5, 2025

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

@finwe finwe added the Bug label Jun 5, 2025
@finwe finwe changed the title Translation: --no-fill option prefixes translations with \0NoFill\0 for intl-icu YAML translations [Translation] --no-fill option prefixes translations with \0NoFill\0 for intl-icu YAML translations Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/symfony/symfony/issues/60710

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy