Skip to content

Option --no-fill on translations:extract don't work on custom domain #60274

Open
@CODEheures

Description

@CODEheures

Symfony version(s) affected

7.2.4

Description

If i want extract translations for my custom domain with --no-fill option, the command don't remove the translation and keep the NO_FILL_PREFIX on the translation.
Example of output:
'Editer mon profil': "\0NoFill\0Editer mon profil"

How to reproduce

php bin/console translation:extract --force --no-fill --format=yaml --domain=mycustomdomain en

Possible Solution

Adapt vendor/symfony/framework-bundle/Command/TranslationUpdateCommand->removeNoFillTranslations to parse targeted domain (or all domains if option domain is not specify).

Additional Context

No response

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