Click or drag to resize
IMultiFileConverterDetectedLanguagesCorrespondToDocumentProperties Property
True if the source and target languages in the DocumentInfo correspond to the languages detected by the file sniffers for each of the extractors. False if any of the extractors is certain that its file is using a different source or target language.

Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
bool DetectedLanguagesCorrespondToDocumentProperties { get; }

Property Value

Type: Boolean
Remarks

The method UpdateDocumentPropertiesFromExtractors can be called to set the current document properties from the detected languages. However, if there are multiple extractors that detect with certainty different languages, this will not work.

You can ensure that specific languages get applied to all extractors by updating the document properties and by calling ApplyDocumentPropertiesToExtractors.

The DetectedSourceLanguage and DetectedTargetLanguage properties can be used to retrieve the source and target language detected by the extractors if a common language is detected and can be used. You can also access the detected source and target languages explicitly for each extractor by looking at FileConversionProperties and checking the FileSnifferInfo.

See Also
Community
Edit

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