Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Translator] Command to compile translator cache #32686

Closed
@sylfabre

Description

@sylfabre

Description
According to https://symfony.com/doc/current/translation.html#translation-resource-file-names-and-locations, as a developper, I have to clear the whole cache every time I update a translation file.

Clearing the cache may take some time, so I would like a command to only clear the translation part of the cache.

Example
For instance, the bundle https://github.com/overblog/GraphQLBundle creates a command graphql:compile (https://github.com/overblog/GraphQLBundle/blob/master/src/Command/CompileCommand.php) to manually compile the part of the cache it creates.

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