Show / Hide Table of Contents

# Class ServerProjectAddLanguageInfo

Encapsulates the parameters of adding a new target language to a server projects.

##### Inheritance

Object
ServerProjectAddLanguageInfo

##### Syntax

    public class ServerProjectAddLanguageInfo

### Fields

#### CopyTargetSideFromSourceDocument

If TargetLangOfSourceDoc is not null (that is documents are to be copied to the new target language), then:

- If false, only the source segments are copied (the target segments are left empty).
- If true, the target segments are also copied. If TargetLangOfSourceDoc is null, its value is ignored.

##### Declaration

    public bool CopyTargetSideFromSourceDocument

##### Type

Boolean

#### TargetLangCode

The three+(two) letter code (such as fre, eng, eng-US)of the language that is to be added as target language to the server project.

##### Declaration

    public string TargetLangCode

##### Type

String

#### TargetLangOfSourceDoc

If not null, documents are copied to the new target language. In this case identifies which version of the documents are to be used as the source of the copy operation via their target language code (as each document may have a different segmentation set for each target language). Either has to be null, or has to have a valid target language code of the project.

##### Declaration

    public string TargetLangOfSourceDoc

##### Type

String

#### TBLanguageHandlingBehavior

The termbase language handling behavior during the operations.

##### Declaration

    public AddProjectLanguageTBHandlingBehavior TBLanguageHandlingBehavior

##### Type

AddProjectLanguageTBHandlingBehavior