Click or drag to resize
TranslationMemoryImporter Class
This class exposes functionality to import a bilingual TMX file or a bilingual document into a translation memory.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryApiTranslationMemoryImporter

Namespace: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi (in Sdl.LanguagePlatform.TranslationMemoryApi.dll) Version: 1.6.0.0 (1.14.4157.0)
Syntax
public class TranslationMemoryImporter

The TranslationMemoryImporter type exposes the following members.

Constructors
  NameDescription
Public methodTranslationMemoryImporter
Initializes a new instance of the TranslationMemoryImporter class.
Public methodTranslationMemoryImporter(ITranslationMemoryLanguageDirection)
Initializes a new instance of the TranslationMemoryImporter class.
Top
Properties
  NameDescription
Public propertyChunkSize
Gets or sets the size of the translation unit chunk size
Public propertyFileTypeManager
Gets or sets the file type manager. This is only needed when imported bilingual documents; it is not required when imported TMX files.
Public propertyImportSettings
Gets or sets the import settings.
Public propertyInvalidTranslationUnitsExportPath
Gets or sets the invalid translation units export path.
Public propertyStatistics
Gets the statistics.
Public propertyTranslationMemoryLanguageDirection
Gets or sets the translation memory language direction.
Public propertyTranslationMemoryUserIdSetting
Gets or sets the user id used to import TUs.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFlush
Flushes the content of the internal translation unit buffer into the translation memory immediately.
Public methodGetDefaultFileTypeManager
Returns the default file type manager.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImport
Starts the import from the specified file.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventBatchImported
Occurs when a TU batch is imported
Top
Fields
  NameDescription
Public fieldStatic memberDefaultTranslationUnitChunkSize
Defines the default size for a chunk of translation units to be processed in one round-trip through the import/export process.

Field Value

Type: 
The default chunk size is 25.
Public fieldStatic memberMaxTranslationUnitChunkSize
Defines the maximum allowed chunk size.

Field Value

Type: 
The maximum allowed chunk size is 200.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments