Criteria Configuration
Base XML
1
<CriteriaConfiguration>
2
<BaseCriteria> <!-- This criteria must be met before an entity can be considered for translation -->
3
<!-- Criteria elements -->
4
</BaseCriteria>
5
<SourceLanguages>
6
<!-- One or more SourceLanguage elements -->
7
</SourceLanguages>
8
<TargetLanguages>
9
<!-- One or more TargetLanguage elements -->
10
</TargetLanguages>
11
</CriteriaConfiguration>
Copied!

<BaseCriteria> element

Contains a criteria that every translatable entity will need to meet in order to be sent for translation.

Properties

Name
Required
Property type
Value type
<Criteria>
Yes
Element
Criteria

<Criteria>

Criteria element, more information about criterias can be found here.

Example

1
<BaseCriteria>
2
<!-- Criteria -->
3
</BaseCriteria>
Copied!

<Criteria> element

Criteria element, more information about criterias can be found here.

<SourceLanguages>

Properties

Name
Required
Property type
Value type
Id
Yes
Attribute
string
<SourceLanguage>
Yes
Element
SourceLanguage
Contains one or more source language configurations. Translatable entities will choose the top-most language configuration who's criteria is met as its source language.

Example

1
<SourceLanguages>
2
<SourceLanguage Id="engb"> <!-- Use "engb" as source language if the following criteria is met -->
3
<!-- Criteria here -->
4
</SourceLanguage>
5
</SourceLanguages>
Copied!

<SourceLanguage> element

Properties

Name
Required
Property type
Value type
Id
Yes
Attribute
string
<Criteria>
Yes
Element
Criteria

Id

Language configuration id

<Criteria>

Criteria element, more information about criterias can be found here.

Example

1
<SourceLanguage Id="engb"> <!-- Use "engb" as source language if the following criteria is met -->
2
<!-- Criteria here -->
3
</SourceLanguage>
Copied!

<TargetLanguages>

Properties

Name
Required
Property type
Value type
Id
Yes
Attribute
string
<TargetLanguage>
Yes
Element
TargetLanguage
Contains one or more target language configurations. Translatable entities will choose every language configuration who's criteria is met as target languages.

Example

1
<TargetLanguages>
2
<TargetLanguage Id="svse"> <!-- Use "svse" as target language if the following criteria is met -->
3
<!-- Criteria here -->
4
</TargetLanguage>
5
</TargetLanguages>
Copied!

<TargetLanguage> element

Properties

Name
Required
Property type
Value type
Id
Yes
Attribute
string
<Criteria>
Yes
Element
Criteria

Id

Language configuration id

<Criteria>

Criteria element, more information about criterias can be found here.

Example

1
<TargetLanguage Id="svse"> <!-- Use "svse" as target language if the following criteria is met -->
2
<!-- Criteria here-->
3
</TargetLanguage>
Copied!
Last modified 3yr ago