txty-io / texterify

The translation and localization management system.
https://texterify.com
Other
175 stars 14 forks source link

Remove unused keys and translations on import #101

Open krisrefs opened 2 years ago

krisrefs commented 2 years ago

In our case as our texts change and features change, then keys are removed.

When we are uploading a file we know exactly what keys we have, and we would want Texterify to not include keys that no longer are relevant for us.

We have a "base language" which always include all our active keys.

It could be awesome to have the feature that if we upload the "base language" file, then it removes irrelevant keys, but it could also be a setting which can be included, so we can set that flag on a specific upload and then it removes other keys.

chrztoph commented 2 years ago

Sounds like a valid use case. Thanks for the feedback. I added it to our roadmap. 🙂

krisrefs commented 2 years ago

Perfect thank you! We will look forward to it :)

hanyufoodles commented 6 months ago

+1 for this feature. We have a react native project localized with react-intl. We use formatjs extract to extract all message definitions to a JSON file then import the file in texterify to translate. But when we remove messages from the project, they are not removed from texterify.