Translation Configuration

Translation Configuration XML base

<TranslationConfiguration>
    <EntityTypes>
        <!-- EntityType elements -->
    </EntityTypes>
    <LinkTypes>
        <!-- LinkType elements -->
    </LinkTypes>
    <Languages>
        <!-- Language elements -->
    </Languages>
</TranslationConfiguration>

3.2.2 -> 3.3 - Upgrade example

Settings that will be removed and replaced by XML configuration, with an example value:

  • childLinkTypes / ChildLinkTypes

    • TranslationJobProduct,ProductItems

  • entityStatusFields / TranslateEntityStatusFields

    • trProductEntityStatus,trItemEntityStatus

  • languageConfiguration / LanguageConfiguration

    • <Languages>
        <Language key="engb" lionbridgeCode="en-gb" inRiverCode="en" />
        <Language key="daDK" lionbridgeCode="da-DK" inRiverCode="da" />
        <Language key="svSE" lionbridgeCode="sv-SE" inRiverCode="sv" />
        <Language key="nbNO" lionbridgeCode="nb-NO" inRiverCode="no" />
      </Languages>

Converted to XML based on settings

<TranslationConfiguration>
    <EntityTypes>
        <EntityType Id="Product">
            <!-- <InTranslationFieldType Id="trProductInTranslation" /> --> <!-- This fields will need to be created manually -->
            <!-- <TranslatedFieldType Id="trProductTranslated" /> --> <!-- This fields will need to be created manually -->
            <!-- <TranslationInfoFieldType Id="trProductTranslationStatus" /> --> <!-- This fields will need to be created manually -->
        </EntityType>
        <EntityType Id="Item">
            <!-- <InTranslationFieldType Id="trItemInTranslation" /> --> <!-- This fields will need to be created manually -->
            <!-- <TranslatedFieldType Id="trItemTranslated" /> --> <!-- This fields will need to be created manually -->
            <!-- <TranslationInfoFieldType Id="trItemTranslationStatus" /> --> <!-- This fields will need to be created manually -->
        </EntityType>
    </EntityTypes>
    <LinkTypes>
        <LinkType Id="TranslationJobProduct" />
        <LinkType Id="ProductItems" />
    </LinkTypes>
    <Languages>
            <Language key="engb" lionbridgeCode="en-gb" inRiverCode="en" />
            <Language key="daDK" lionbridgeCode="da-DK" inRiverCode="da" />
            <Language key="svSE" lionbridgeCode="sv-SE" inRiverCode="sv" />
            <Language key="nbNO" lionbridgeCode="nb-NO" inRiverCode="no" />
    </Languages>
</TranslationConfiguration>

XML element details

<TranslationConfiguration> element

Contains translation configuration data.

Properties

<EntityTypes>element

Contains information about entity types that can be translatable.

Properties

<EntityType>element

Contains information about an entity type that should be translatable

Properties

Id

The entity type id of the translatable entity type

<InTranslationFieldType>

Properties

Id

The field type id of the "In Translation" status field.

<TranslatedFieldType>element

Properties

Id

The field type id of the "Translated" status field.

TranslationInfoFieldTypeelement

Properties

Id

The field type id of the field that the connector uses to store information about what has been sent for translation for a given entity.

<LinkTypes>element

Link types the connector can use to discover translatable entities.

Properties

<LinkType>element

Link type the connector can use to discover translatable entities.

Properties

Id

Link type id the connector can use to discover translatable entities.

<Languages>element

Language information, more information about how to configure this can be found here.

Properties

<Language>element

Information about a single language.

Properties

key

Unique identifier for the language.

lionbridgeCode

Lionbridge language code for this language.

inRiverCode

inRiver language code for this language.

Last updated