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

Support check flag #1

Open
ppiyush13 opened this issue May 3, 2021 · 1 comment
Open

Support check flag #1

ppiyush13 opened this issue May 3, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ppiyush13
Copy link

@felixmosh Thanks for this library which supports namespace as well. I read the document but still want to confirm is there check flag available with i18next-locales-sync ? If no, then is it possible to add this flag, it will be really useful to check locales files in CI environment.

@ppiyush13 ppiyush13 added the enhancement New feature or request label May 3, 2021
@felixmosh
Copy link
Owner

felixmosh commented May 3, 2021

@ppiyush13 thank you for your interest in this lib.

Currently there is no "dry-run" mode, the idea behind this lib is to sync locale keys without human interaction.
If you use GIT in your CI env, you can run this lib, and then check for changed files with

git status path/to/your/locales/folder -s

This will generate a list of locales files that were changed

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

No branches or pull requests

2 participants