Struct LegacyTradosLanguage
Assembly: Sdl.Core.Globalization.dll
Syntax
public struct LegacyTradosLanguage : IXmlSerializable
Constructors
LegacyTradosLanguage(int)
Declaration
public LegacyTradosLanguage(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
LegacyTradosLanguage(string)
Declaration
public LegacyTradosLanguage(string isoCode)
Parameters
Type |
Name |
Description |
string |
isoCode |
|
Properties
IsInstalled
Declaration
public bool IsInstalled { get; }
Property Value
IsProprietary
Declaration
public bool IsProprietary { get; }
Property Value
IsValid
Declaration
public bool IsValid { get; }
Property Value
IsoCode
Declaration
public string IsoCode { get; }
Property Value
Lcid
Declaration
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetAllLcids()
Declaration
public static int[] GetAllLcids()
Returns
GetEnglishLanguageNameFromLcid()
Declaration
public string GetEnglishLanguageNameFromLcid()
Returns
GetEnglishLanguageNameFromLcid(int)
Declaration
public static string GetEnglishLanguageNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
GetEnglishNameFromLcid(int)
Declaration
public static string GetEnglishNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetIsoCodeFromLcid(int, bool)
Declaration
public static string GetIsoCodeFromLcid(int lcid, bool includeCountry)
Parameters
Type |
Name |
Description |
int |
lcid |
|
bool |
includeCountry |
|
Returns
GetLanguageCode(int)
Declaration
public static string GetLanguageCode(int primaryLanguageCode)
Parameters
Type |
Name |
Description |
int |
primaryLanguageCode |
|
Returns
GetLcidFromIsoCode(string)
Declaration
public static int GetLcidFromIsoCode(string isoCode)
Parameters
Type |
Name |
Description |
string |
isoCode |
|
Returns
GetLcids(int)
Declaration
public static int[] GetLcids(int primaryLanguageCode)
Parameters
Type |
Name |
Description |
int |
primaryLanguageCode |
|
Returns
Declaration
public string GetLocaleInfo(LanguageFormat languageFormat, bool includeCountry)
Parameters
Returns
Declaration
public static string GetLocaleInfo(int lcid, LanguageFormat languageFormat, bool includeCountry)
Parameters
Returns
GetNativeLanguageNameFromLcid()
Declaration
public string GetNativeLanguageNameFromLcid()
Returns
GetNativeLanguageNameFromLcid(int)
Declaration
public static string GetNativeLanguageNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
GetNativeNameFromLcid(int)
Declaration
public static string GetNativeNameFromLcid(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
GetSchema()
Declaration
public XmlSchema GetSchema()
Returns
IsDefaultForCountry(int)
Declaration
public static bool IsDefaultForCountry(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
IsInstalledLcid(int)
Declaration
public static bool IsInstalledLcid(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
IsProprietaryLcid(int)
Declaration
public static bool IsProprietaryLcid(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
ReadXml(XmlReader)
Declaration
public void ReadXml(XmlReader reader)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
UsesCharacterCounts()
Declaration
public bool UsesCharacterCounts()
Returns
UsesCharacterCounts(int)
Declaration
public static bool UsesCharacterCounts(int lcid)
Parameters
Type |
Name |
Description |
int |
lcid |
|
Returns
WriteXml(XmlWriter)
Declaration
public void WriteXml(XmlWriter writer)
Parameters
Implements