Versions Management

Maintain an agile localization process and avoid translation delays for added texts or new product features. Integrate your project branches with Crowdin Enterprise and allow translators to immediately access all new texts.

Branches

When several people are working on product development, branches help to manage different versions of the content. If you have a continuous project you can add project branches to Crowdin Enterprise and allow translators to translate the texts right in parallel with development to avoid deployment delays.

Branch in Crowdin Enterprise looks like a regular folder marked with a special icon and has specific behavior for duplicated strings.
Example of branch structure in Crowdin Enterprise:

Branch Structure

Branch Creation

Note! First files you upload to Crowdin Enterprise project must contain all the original strings and should be placed in the corresponding branch. For all article examples a branch with original texts is named Master.

There are few ways to add branches to Crowdin Enterprise:

  • Integrate Crowdin Enterprise projects with GitLab, GitHub, or Bitbucket. It’s a recommended option, as branches selected for localization in your version control system (VCS) will be created in Crowdin Enterprise automatically
  • Use CLI or API to add new branches
  • Create branches manually

Duplicates

Because branches are the different versions of the same product feature, the localization content in them is usually duplicated. To help translators translate versions consistently and avoid additional translation costs, we have a special option that allows hiding duplicated strings between versions. When this option is chosen, only the master strings that were first uploaded to the system should be translated. All duplicated strings will automatically gain the translations from the master strings. Duplicates

Suggested Workflow

To make sure versions work smoothly for your Crowdin Enterprise project, we recommend the following workflow:

  1. Upload your project files to Crowdin Enterprise project using one of the methods available.
  2. Go to Project Settings > Translations > Duplicates and choose the option recommended for versions.

The screenshot below visualizes how the workflow works in practice. All texts from Master, Branch 1 and Branch 2 are transferred to the translation server immediately after they appear, even though the branches are not merged to the Master branch yet.

Translations Export

Translations from all version branches are placed in one ZIP archive when they are downloaded through the web interface. Use the synchronization tool or API to download the translations for each branch individually.

Merging Branches

The Master branch will contain new texts from the Feature branches as soon as they are merged. While synchronizing with Crowdin Enterprise, all of the texts in the Master branch are populated with translations from the appropriate branch.

After synchronization of the updated Master branch with Crowdin Enterprise, the Feature branch can be removed from Crowdin Enterprise. All translations stored in the Master branch will remain.

Branch Translation Verification

You can verify translations on production using only Feature branch before changes are merged with your Master branch. Such Test Deploy gives you an option of quick revert to the original Master branch version if needed.

See Also

Was this article helpful?