Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused keys and translations on import #101

Open
krisrefs opened this issue Feb 14, 2022 · 3 comments
Open

Remove unused keys and translations on import #101

krisrefs opened this issue Feb 14, 2022 · 3 comments

Comments

@krisrefs
Copy link

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
Copy link
Member

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

@krisrefs
Copy link
Author

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

@hanyufoodles
Copy link

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants