8000 Translation: XliffFileDumper metadata · Issue #15190 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Translation: XliffFileDumper metadata #15190
Closed
@timwhitlock

Description

@timwhitlock

Would it be possible to add "generator" metadata to XLIFF exports from the Translator component?

I'm thinking something like this, using the specified <tool> element:

<file tool-id="symfony" source-language="en">
    <header>
        <tool tool-id="symfony" tool-name="XliffFileDumper" tool-version="2.7" />
    </header>
</file>

This will allow other software to handle specific intentions of the format. I currently export three different variations of XLIFF from my software, including one for Symfony and one for XCode. Importing files into the software is the hard part without a hint as to what flavour it is.

I'd contribute a code change myself, but I thought the maintainers would prefer to decide on best practice here.

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