Skip to content

Output keys and values removed with locize sync#98

Description

@staaky

馃殌 Feature Proposal

It would be useful to have an option to output the keys and values that get removed with locize sync. Perhaps it can even be the default.

Motivation

It gives an easy way to restore keys. I've destroyed translation work that already happened in Locize by mistake several times by messing up a sync. In Locize there doesn't seem to be a history for removed keys. If locize sync outputs both the keys and the values it removes, this would provide a way to recover from the cli.

Example

Instead of this output:

removing 9 keys in es/common...
removing 9 keys in fr/common...

You also get the keys and their values:

removing 9 keys in es/common...
removed "arrival": "Llegada"
removed "departure": "Salida"
...etc

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