Skip to content

Find equal or unequal values between arbitrary trees? #700

@bensheldon

Description

@bensheldon

My use-case is to identify the keys of all the values that have changed between the base language of my current git branch and the base language of the main git branch. This would allow me to export a list of the key/values that have been edited/modified in my feature branch, so that I can re-translate them. The closest I can imagine is:

i18n-tasks eq-values config/locales/en.yml $(git show main:config/locales/en.yml | i18n-tasks tree-subtract config/locales/en.yml

...where eq-values is my imagined idea for eq-base but with the base option being configurable.

I also imagine I could write this as a custom plugin/task for myself, but was befuddled by how to do that too. Thanks for any help 🙇🏻

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions