Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

allow configuration of more metadata fields #80

Closed
@mattkime

Description

@mattkime

in my current internationalization project i'm focusing on clear communication between translators and devs. it would be helpful if we could define our own metadata fields that would be treated like the description field - copied along with id and defaultMessage into the extracted json files but otherwise unused during rendering. We wish to have a field that specifically references our ticketing system.

The ideal setup would be to make babel-plugin-react-intl configurable so we could define which fields we want treated with metadata, with the default being [ 'description' ].

Having taken a look at the code this appears to be a simple change affecting ~10 lines of code or so. I wanted to start the conversation to see if this would be a welcome change before submitting a pr.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions