Click or drag to resize
TranslationMemoryExporter Class
This class implements exporting translation units into TMX files.
Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.TranslationMemoryApiTranslationMemoryExporter

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 TranslationMemoryExporter

The TranslationMemoryExporter type exposes the following members.

Constructors
  NameDescription
Public methodTranslationMemoryExporter
Initializes a new instance of the TranslationMemoryExporter class.
Public methodTranslationMemoryExporter(ITranslationMemoryLanguageDirection)
Initializes a new instance of the TranslationMemoryExporter class with the specified languageDirection.
Top
Properties
  NameDescription
Public propertyChunkSize
Gets or sets the size of the translation unit chunk size
Public propertyFilterExpression
Gets or sets the filter expression.
Public propertyTmxExportFormat
Gets or sets the flavour of the exported TMX.
Public propertyTranslationMemoryLanguageDirection
Gets or sets the translation memory language direction.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExport
Starts the export process with the configured settings into a file with the specified name.
Remarks
This method supports GZip compressed files, such as: export.tmx.gz
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.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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 eventBatchExported
Occurs when ever a batch is imported, set Cancel = True to stop the export.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultTranslationUnitChunkSize
Defines the default size for a chunk of translation units to be processed in one roundtrip through the import/export process.

Field Value

Type: 
The default chunk size is 50.
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