8000 Translation File Generation · Issue #30443 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Translation File Generation #30443
Closed
Closed
@dtfafard

Description

@dtfafard

Hi guys,

very small bug but that took me 4 hours to find the fix. When generating the files using :

php bin/console translation:update --dump-messages --force fr

It generates the files with the extension "yml" by default.

According to : https://symfony.com/doc/current/translation.html#translation-resource-file-names-and-locations, the translation component only recognizes files with the extension "yaml".

I think this could be fixed quite easily.

Also, since your documentation recommends to use XLF, I think the script should generate the files in XLF too. Or change the documentation to mention that the default should be YAML/YML (I personally prefer YAML/YML). This would make everything consistent.

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

      0