Build specific subdirectory of project, instead of entire project #578
-
Greetings, My Crowdin project has translations for multiple small projects combined into one project on Crowdin. Each project has a separate subfolder. My Crowdin CLI script runs during my release workflow, with a simple Anyway, here's the issue: every time I make a mod release, Crowdin builds the entire project and sends the translations for every single mod. The CLI detects this and simply throws away all of the translations it doesn't need, which means it works fine, but I'm wasting a lot of Crowdin server time and building the entire project makes the release take way longer. Is there a way to tell it to only build a specific subdirectory instead of the entire project? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use branches to organize your projects. Then you can just call the crowdin push -b project1
crowdin pull -b project1
...
crowdin push -b project2
crowdin pull -b project2 Additionally, this will allow auto-translating the duplicated strings between the projects in case there are some common strings. |
Beta Was this translation helpful? Give feedback.
You can use branches to organize your projects.
Then you can just call the
crowdin push sources
andcrowdin pull
by adding the-b
parameter and CLI will push, build and download only the specified branch. For example:Additionally, this will allow auto-translating the duplicated strings between the projects in case there are some common strings.