Search Results for

    Show / Hide Table of Contents

    Class LegacyLanguagePair

    Inheritance
    object
    LegacyLanguagePair
    Implements
    ILegacyLanguageDirectionData
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Sdl.LanguagePlatform.TranslationMemoryApi.Upgrade
    Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
    Syntax
    public class LegacyLanguagePair : ILegacyLanguageDirectionData

    Constructors

    LegacyLanguagePair(LegacyLanguage, LegacyLanguage)

    Declaration
    public LegacyLanguagePair(LegacyLanguage sourceLanguage, LegacyLanguage targetLanguage)
    Parameters
    Type Name Description
    LegacyLanguage sourceLanguage
    LegacyLanguage targetLanguage

    Properties

    AvailableLanguageResources

    Gets a number of sets of language resources which could be valid for use in the output translation memory. It is a user choice as to which one will be used (see ITranslationMemorySetupOptions).

    Declaration
    public ILegacyLanguageResources[] AvailableLanguageResources { get; set; }
    Property Value
    Type Description
    ILegacyLanguageResources[]

    SourceLanguage

    Gets the source language.

    Declaration
    public LegacyLanguage SourceLanguage { get; set; }
    Property Value
    Type Description
    LegacyLanguage

    SuggestedLanguageResources

    Gets the language resources that the system suggest to use. This can be one of the available language resources (see AvailableLanguageResources) or null, which means the default language resources are suggested.

    Declaration
    public ILegacyLanguageResources SuggestedLanguageResources { get; set; }
    Property Value
    Type Description
    ILegacyLanguageResources

    TargetLanguage

    Gets the target language.

    Declaration
    public LegacyLanguage TargetLanguage { get; set; }
    Property Value
    Type Description
    LegacyLanguage

    TranslationUnitCount

    Gets the number of translation units exist with this language direction. This is

    -1
    if the count is not known (or cannot be easily obtained).
    Declaration
    public int TranslationUnitCount { get; set; }
    Property Value
    Type Description
    int

    Implements

    ILegacyLanguageDirectionData
    In this article
    • Constructors
      • LegacyLanguagePair(LegacyLanguage, LegacyLanguage)
    • Properties
      • AvailableLanguageResources
      • SourceLanguage
      • SuggestedLanguageResources
      • TargetLanguage
      • TranslationUnitCount
    • Implements
    Back to top Generated by DocFX