Search Results for

    Show / Hide Table of Contents

    Class LanguageRegistryApi

    Inheritance
    object
    LanguageRegistryApiAsync
    LanguageRegistryApi
    Inherited Members
    LanguageRegistryApiAsync.GetAllLanguagesAsync()
    LanguageRegistryApiAsync.GetAllNeutralLanguagesAsync(bool, bool)
    LanguageRegistryApiAsync.GetAllSpecificLanguagesAsync(bool, bool)
    LanguageRegistryApiAsync.GetLanguagesAsync(string[])
    LanguageRegistryApiAsync.GetLanguageAsync(string, string)
    LanguageRegistryApiAsync.GetLanguageAsync(string, bool)
    LanguageRegistryApiAsync.GetLanguageMetadataAsync(string[])
    LanguageRegistryApiAsync.GetApplicableLanguageMetadataAsync(string[])
    LanguageRegistryApiAsync.GetSupportedLanguagesAsync(string)
    LanguageRegistryApiAsync.GetAllRegisteredProductsAsync()
    LanguageRegistryApiAsync.GetAlternativeLanguageCodesAsync(string, string)
    LanguageRegistryApiAsync.GetProductSpecificCodeWithFallbackAsync(string, string, string)
    LanguageRegistryApiAsync.SerializeObject(LanguageDataContainer)
    LanguageRegistryApiAsync.CultureMetadataManager
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Sdl.Core.Globalization.LanguageRegistry
    Assembly: Sdl.Core.Globalization.dll
    Syntax
    public sealed class LanguageRegistryApi : LanguageRegistryApiAsync

    Properties

    Instance

    Declaration
    public static LanguageRegistryApi Instance { get; }
    Property Value
    Type Description
    LanguageRegistryApi

    Methods

    GetAllLanguages()

    Declaration
    public IList<Language> GetAllLanguages()
    Returns
    Type Description
    IList<Language>

    GetAllNeutralLanguages()

    Declaration
    public IList<Language> GetAllNeutralLanguages()
    Returns
    Type Description
    IList<Language>

    GetAllRegisteredProducts()

    Declaration
    public IList<Product> GetAllRegisteredProducts()
    Returns
    Type Description
    IList<Product>

    GetAllSpecificLanguages()

    Declaration
    public IList<Language> GetAllSpecificLanguages()
    Returns
    Type Description
    IList<Language>

    GetAlternativeLanguageCodes(string, string)

    Declaration
    public IList<AlternativeLanguageCode> GetAlternativeLanguageCodes(string productId, string languageCode)
    Parameters
    Type Name Description
    string productId
    string languageCode
    Returns
    Type Description
    IList<AlternativeLanguageCode>

    GetApplicableLanguageMetadata(string[])

    Declaration
    public LanguageMetadata[] GetApplicableLanguageMetadata(string[] languageCodes)
    Parameters
    Type Name Description
    string[] languageCodes
    Returns
    Type Description
    LanguageMetadata[]

    GetLanguage(string)

    Declaration
    public Language GetLanguage(string languageCode)
    Parameters
    Type Name Description
    string languageCode
    Returns
    Type Description
    Language

    GetLanguage(string, string)

    Declaration
    public Language GetLanguage(string alternativeLanguageCode, string productId)
    Parameters
    Type Name Description
    string alternativeLanguageCode
    string productId
    Returns
    Type Description
    Language

    GetLanguageMetadata(string[])

    Declaration
    public LanguageMetadata[] GetLanguageMetadata(string[] languageCodes)
    Parameters
    Type Name Description
    string[] languageCodes
    Returns
    Type Description
    LanguageMetadata[]

    GetLanguages(string[])

    Declaration
    public IList<Language> GetLanguages(string[] languageCodes)
    Parameters
    Type Name Description
    string[] languageCodes
    Returns
    Type Description
    IList<Language>

    GetProductSpecificCodeWithFallback(string, string, string, out MappingType)

    Declaration
    public IList<AlternativeLanguageCode> GetProductSpecificCodeWithFallback(string sourceProductId, string sourceLanguageCode, string targetProductId, out MappingType mappingType)
    Parameters
    Type Name Description
    string sourceProductId
    string sourceLanguageCode
    string targetProductId
    MappingType mappingType
    Returns
    Type Description
    IList<AlternativeLanguageCode>

    GetSupportedLanguages(string)

    Declaration
    public IList<Language> GetSupportedLanguages(string productId)
    Parameters
    Type Name Description
    string productId
    Returns
    Type Description
    IList<Language>
    In this article
    • Properties
      • Instance
    • Methods
      • GetAllLanguages()
      • GetAllNeutralLanguages()
      • GetAllRegisteredProducts()
      • GetAllSpecificLanguages()
      • GetAlternativeLanguageCodes(string, string)
      • GetApplicableLanguageMetadata(string[])
      • GetLanguage(string)
      • GetLanguage(string, string)
      • GetLanguageMetadata(string[])
      • GetLanguages(string[])
      • GetProductSpecificCodeWithFallback(string, string, string, out MappingType)
      • GetSupportedLanguages(string)
    Back to top Generated by DocFX