Branches visualize the structures and sub-decisions in your statements in your translation items.
When writing a statement, you can branch off at different points in the statement to provide more than one way to express its information. Use branching to create branches that span one or more words, phrases or even whole statements.
- Branches appear one below the other in your translation item, so you can keep track of your construction. At each branching, you can specify different modes of deciding which branch to render.
- You can copy and paste branches as well as change the order of the branches by drag and drop.
- You can create branches at any point in a statement. This means you can also create (sub)-branches within a branch and within a container (see the warning below).
If you create branches within a container, they are not visible in the statement, but only in the container settings.
Settings for Branches
You create branches in your translation item by marking those parts that should have more than one variant and clicking on the branching icon. With this marking, you define the starting and ending point for a branch: a point where the statements will split into one or more branches (a branching) and the point where the branches come together again.
For each branching you can define the conditions under which this branch should appear:
- Select the corresponding trigger variable that your colleagues have created.
- Set the weight for a branch that defines the frequency of appearance. Depending on the specification of the weight, the probability that the branch is triggered increases or decreases. You can only set the weight for a branch if you have chosen random in the settings for branchings (see below)
- In the general settings of each container you can switch on or off the function that a **branch will be skipped if the container is empty.
Usually, these steps are not necessary as this should be automatically done via the automatic translation; however, you should check these. For evaluation, you can refer to the original structure of the translation item the source language and compare the configuration.
Settings for Branchings
Click on the Branching Symbol to open the settings of the branching in the right panel, where you can define the mode of processing the associated branches:
- first: The first valid branch will be chosen.
- random: One branch is selected at random from the pool of valid branches.
- text shortening: With this switch, you specify whether or not this branching can be skipped in case the maximum text length is exceeded.