Search Results for

    Show / Hide Table of Contents

    Class MergedProjectFile

    Represents a merged translatable file, which consists of a number of child translatable files. This allows manipulating the content of all the child files within one physical SDLXLIFF file.

    Inheritance
    System.Object
    ProjectFile
    MergedProjectFile
    Inherited Members
    ProjectFile.GetSettings()
    ProjectFile.UpdateSettings(ISettingsBundle)
    ProjectFile.Id
    ProjectFile.ProjectId
    ProjectFile.Name
    ProjectFile.Role
    ProjectFile.FileTypeId
    ProjectFile.Language
    ProjectFile.IsSource
    ProjectFile.SourceFile
    ProjectFile.TargetFiles
    ProjectFile.Folder
    ProjectFile.LocalFilePath
    ProjectFile.AnalysisStatistics
    ProjectFile.ConfirmationStatistics
    ProjectFile.BilingualReferenceFileLocalPath
    ProjectFile.LocalFileState
    ProjectFile.CheckedOutTo
    ProjectFile.CheckedOutAt
    ProjectFile.IsCheckedOutToMe
    ProjectFile.IsCheckedOut
    ProjectFile.IsCheckedOutToAnotherUser
    ProjectFile.LatestServerVersion
    ProjectFile.CurrentServerVersion
    ProjectFile.LastModified
    ProjectFile.Size
    ProjectFile.PathInProject
    ProjectFile.OriginalName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.ProjectAutomation.Core
    Assembly: Sdl.ProjectAutomation.Core.dll
    Syntax
    public class MergedProjectFile : ProjectFile
    Remarks

    To create a merged file, first add all the individual files to the project and subsequently call CreateMergedProjectFile(String, String, Guid[]) to create the merged file object. initially, the merge state (MergeState) of the file is NotMerged, which indicates that the merged SDLXLIFF file has not actually been created yet. In order to do this, you need to run a "Convert to Bilingual" task after which the merge state changes to Merged.


    A merged project file with merge state Merged can be used for all operations any other translatable project file can be used. The operation will then be performed on the merged SDLXLIFF file.

    The Generate Target Translation task (GenerateTargetTranslations) will effectively "split" the merged file again and produce all the native target language files. After this has happened, the merge state of the merged file changes to Split. After this point, no operations can be performed on the merged file anymore.

    Properties

    ChildFiles

    Gets the translatable files this merged file consists of.

    Declaration
    public ProjectFile[] ChildFiles { get; }
    Property Value
    Type Description
    ProjectFile[]

    MergeState

    Gets the current merge state of the file.

    Declaration
    public MergeState MergeState { get; }
    Property Value
    Type Description
    MergeState

    On this page

    • Properties
      • ChildFiles
      • MergeState
    Back to top Generated by DocFX