Removing old branches

Hi,

We recently changed our branch structure in our git repository, leaving us with a defunct main branch in Crowdin, plus the new major version branches. Most of the keys are the same between branches, with new additions only appearing in the major version branches. Is it safe to delete the old main branch? I’m worried about losing the translations in the current branches since they only list their new strings.

Hi @opencast,

If the new branches only contain new additions, this is most likely due to your import options settings (hiding duplicates). You can check them in the project settings → Duplicates section (Import Settings | Crowdin Docs).

So, if you filter the Editor by hidden strings and see that these duplicates already have translations, it is because those translations migrated from the old branch. Therefore, you can delete this old branch, and as a result, these strings will become visible (master) in the next branch added, alongside translations.