Class LanguageRegistryApi
Inheritance
LanguageRegistryApi
Assembly: Sdl.Core.Globalization.dll
Syntax
public sealed class LanguageRegistryApi : LanguageRegistryApiAsync
Properties
Instance
Declaration
public static LanguageRegistryApi Instance { get; }
Property Value
Methods
GetAllLanguages()
Declaration
public IList<Language> GetAllLanguages()
Returns
GetAllNeutralLanguages()
Declaration
public IList<Language> GetAllNeutralLanguages()
Returns
GetAllRegisteredProducts()
Declaration
public IList<Product> GetAllRegisteredProducts()
Returns
GetAllSpecificLanguages()
Declaration
public IList<Language> GetAllSpecificLanguages()
Returns
GetAlternativeLanguageCodes(string, string)
Declaration
public IList<AlternativeLanguageCode> GetAlternativeLanguageCodes(string productId, string languageCode)
Parameters
Returns
Declaration
public LanguageMetadata[] GetApplicableLanguageMetadata(string[] languageCodes)
Parameters
Type |
Name |
Description |
string |
languageCodes |
|
Returns
GetLanguage(string)
Declaration
public Language GetLanguage(string languageCode)
Parameters
Type |
Name |
Description |
string |
languageCode |
|
Returns
GetLanguage(string, string)
Declaration
public Language GetLanguage(string alternativeLanguageCode, string productId)
Parameters
Type |
Name |
Description |
string |
alternativeLanguageCode |
|
string |
productId |
|
Returns
Declaration
public LanguageMetadata[] GetLanguageMetadata(string[] languageCodes)
Parameters
Type |
Name |
Description |
string |
languageCodes |
|
Returns
GetLanguages(string[])
Declaration
public IList<Language> GetLanguages(string[] languageCodes)
Parameters
Type |
Name |
Description |
string |
languageCodes |
|
Returns
GetProductSpecificCodeWithFallback(string, string, string, out MappingType)
Declaration
public IList<AlternativeLanguageCode> GetProductSpecificCodeWithFallback(string sourceProductId, string sourceLanguageCode, string targetProductId, out MappingType mappingType)
Parameters
Returns
GetSupportedLanguages(string)
Declaration
public IList<Language> GetSupportedLanguages(string productId)
Parameters
Type |
Name |
Description |
string |
productId |
|
Returns