Translation Configuration

Translation Configuration XML base

1
<TranslationConfiguration>
2
<EntityTypes>
3
<!-- EntityType elements -->
4
</EntityTypes>
5
<LinkTypes>
6
<!-- LinkType elements -->
7
</LinkTypes>
8
<Languages>
9
<!-- Language elements -->
10
</Languages>
11
</TranslationConfiguration>
Copied!

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
      1
      <Languages>
      2
      <Language key="engb" lionbridgeCode="en-gb" inRiverCode="en" />
      3
      <Language key="daDK" lionbridgeCode="da-DK" inRiverCode="da" />
      4
      <Language key="svSE" lionbridgeCode="sv-SE" inRiverCode="sv" />
      5
      <Language key="nbNO" lionbridgeCode="nb-NO" inRiverCode="no" />
      6
      </Languages>
      Copied!

Converted to XML based on settings

1
<TranslationConfiguration>
2
<EntityTypes>
3
<EntityType Id="Product">
4
<!-- <InTranslationFieldType Id="trProductInTranslation" /> --> <!-- This fields will need to be created manually -->
5
<!-- <TranslatedFieldType Id="trProductTranslated" /> --> <!-- This fields will need to be created manually -->
6
<!-- <TranslationInfoFieldType Id="trProductTranslationInfo" /> --> <!-- This fields will need to be created manually -->
7
</EntityType>
8
<EntityType Id="Item">
9
<!-- <InTranslationFieldType Id="trItemInTranslation" /> --> <!-- This fields will need to be created manually -->
10
<!-- <TranslatedFieldType Id="trItemTranslated" /> --> <!-- This fields will need to be created manually -->
11
<!-- <TranslationInfoFieldType Id="trItemTranslationInfo" /> --> <!-- This fields will need to be created manually -->
12
</EntityType>
13
</EntityTypes>
14
<LinkTypes>
15
<LinkType Id="TranslationJobProduct" />
16
<LinkType Id="ProductItems" />
17
</LinkTypes>
18
<Languages>
19
<Language key="engb" lionbridgeCode="en-gb" inRiverCode="en" />
20
<Language key="daDK" lionbridgeCode="da-DK" inRiverCode="da" />
21
<Language key="svSE" lionbridgeCode="sv-SE" inRiverCode="sv" />
22
<Language key="nbNO" lionbridgeCode="nb-NO" inRiverCode="no" />
23
</Languages>
24
</TranslationConfiguration>
Copied!

XML element details

<TranslationConfiguration> element

Contains translation configuration data.
Properties
Name
Required
Property type
Value type
EntityTypes
Yes
Element
XML
LinkTypes
Yes
Element
XML
Languages
Yes
Element
XML

<EntityTypes>element

Contains information about entity types that can be translatable.
Properties
Name
Required
Property type
Value type
EntityType
Yes
Element
XML

<EntityType>element

Contains information about an entity type that should be translatable
Properties
Name
Required
Property type
Value type
Id
Yes
Attribute
string
InTranslationFieldType
Yes
Element
XML
TranslatedFieldType
Yes
Element
XML
TranslationInfoFieldType
Yes
Element
XML
Id
The entity type id of the translatable entity type
<InTranslationFieldType>
Properties
Name
Required
Property type
Value type
Id
Yes
Attribute
string
Id
The field type id of the "In Translation" status field.
<TranslatedFieldType>element
Properties
Name
Required
Property type
Value type
Id
Yes
Attribute
string
Id
The field type id of the "Translated" status field.
TranslationInfoFieldTypeelement
Properties
Name
Required
Property type
Value type
Id
Yes
Attribute
string
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
Name
Required
Property type
Value type
LinkType
Yes
Element
XML

<LinkType>element

Link type the connector can use to discover translatable entities.
Properties
Name
Required
Property type
Value type
Id
Yes
Attribute
string
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
Name
Required
Property type
Value type
Language
Yes
Element
XML

<Language>element

Information about a single language.
Properties
Name
Required
Property type
Value type
key
Yes
Attribute
string
lionbridgeCode
Yes
Attribute
string
inRiverCode
Yes
Attribute
string
key
Unique identifier for the language.
lionbridgeCode
Lionbridge language code for this language.
inRiverCode
inRiver language code for this language.