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

Option to exclude some languages from the build #586

Closed
andrii-bodnar opened this issue May 25, 2023 · 0 comments · Fixed by #595
Closed

Option to exclude some languages from the build #586

andrii-bodnar opened this issue May 25, 2023 · 0 comments · Fixed by #595
Assignees
Labels
enhancement good first issue new option New option for an existing command

Comments

@andrii-bodnar
Copy link
Member

Problem

Currently, the crowdin download command downloads all the target languages from the Crowdin project or the specified ones (crowdin download -l uk -l fr -l de ...).

Sometimes there are cases when we need to skip some languages from downloading. In this case, the only workarounds are using the exclude target languages for files or passing only the required languages. The first workaround might not be the solution in some cases and the second is not the most convenient way.

Solution

I suggest adding the --exclude-language parameter to the crowdin download command that will allow skipping some languages from downloading. This parameter can be specified multiple times.

Notes

  • It should work on the Build Project Translation API request passing all the project target languages except the ones specified in the --exclude-language parameter.
  • The corresponding Unit test should be also added.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue new option New option for an existing command
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants