Interface IBaseTranslationMemoryMigrationManager
Represents the entry point to the translation memory migration API and the provided functionality. It provides methods to create a migration project (IMigrationProject), and obtain representations of various legacy translation memories (ILegacyTranslationMemory which are the input of a migration project, and provides methods to obtain translation memory creators (ITranslationMemoryCreator), which are used to create the output TM of a migration project.
Namespace: SdlSdl.LanguagePlatformTranslationMemoryApiUpgrade
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public interface IBaseTranslationMemoryMigrationManager
Methods
CreateFileBasedTranslationMemoryCreator()
Obtains a translation memory creator, which can be used to create file-based non-legacy translation memories (see TranslationMemoryCreator).
Declaration
IFileBasedTranslationMemoryCreator CreateFileBasedTranslationMemoryCreator()
Returns
Type | Description |
---|---|
IFileBasedTranslationMemoryCreator | A new IFileBasedTranslationMemoryCreator object. |
Remarks
Before this creator can be used, the required properties on it must be set.
CreateMigrationProject()
Creates a new, empty migration project.
Declaration
IMigrationProject CreateMigrationProject()
Returns
Type | Description |
---|---|
IMigrationProject | A new migration project. |
GetTmxLegacyTranslationMemory(string)
Obtains a representation of a TMX-file-based translation memory to be used as input to a migration project.
Declaration
ITmxLegacyTranslationMemory GetTmxLegacyTranslationMemory(string tmxFilePath)
Parameters
Type | Name | Description |
---|---|---|
string | tmxFilePath | The absolute path to the TMX file. |
Returns
Type | Description |
---|---|
ITmxLegacyTranslationMemory | A new ITmxLegacyTranslationMemory object. |