Branches

Branches visualize the structures and sub-decisions of text and can be created within Statements, Containers and Phrase Nodes.

Branches are used to vary expressions, e.g.to provide synonyms or different text components according to requirements, i.e. different branches are output depending on different conditions.

Branchings are the starting point of a set of branching.

  • At each branching, different modes of deciding which branch to render can be specified.
  • Branches can be copied and pasted and their order can be changed by drag and drop.
  • Branches appear one below the other in your translation item, so you can keep track of the construction.

Settings for Branches

Branches can also be created in the Translate App. For this, you mark those parts that should have more than one variant and click 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.

TIP

You can create, modify or delete branches as you see fit when translating.

To evaluate, you can refer to the original structure of the translation item in the source language and compare the configuration.

Make sure, however, that you coordinate any major changes to the project structure with the Cockpit User.

Conditions under which a Branch should appear

  1. Set triggers: Specific conditions can be defined in the AX text project, which are then put together in a Trigger variable. The Trigger Variable is set in the settings of the Branching.
  2. random: A branch will be chosen randomly. If the probability that the branch is triggered should be increased or decreased, a weight for a branch can be set that defines the frequency of appearance.
  3. empty Containers: 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.

Settings for Branchings

In the Branching settings the mode of processing the associated Branches are defined:

  • 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 these branches can be skipped in case the maximum text length is exceeded.