| LegacyTradosLanguage Structure |
Namespace: Sdl.Core.Globalization
The LegacyTradosLanguage type exposes the following members.
| Name | Description | |
|---|---|---|
| LegacyTradosLanguage(Int32) |
Construction from an LCID value. The LCID can be a valid
Windows/.NET supported LCID, or a TRADOS defined "LCID", such as 2108 for Gaelic (Scotland).
| |
| LegacyTradosLanguage(String) |
Construction from a 2 or 5 letter ISO code (i.e. with or without sublanguage/region).
The 2 letter language code should be separated from the 2 letter country code with a dash.
Examples:
EN-US, DE-DE, SW-SE, JP
|
| Name | Description | |
|---|---|---|
| IsInstalled | true if the language with this LCID is supported directly by the operating system.
| |
| IsoCode |
The 5 letter ISO code corresponding to this language, in this format:
EN-US, JP-JP, etc.
May be empty if IsValid is false.
| |
| IsProprietary | true if this LCID is a proprietary TRADOS "LCID".
| |
| IsValid | true if the language is a valid LCID and ISO language code.
| |
| Lcid |
The Windows/.NET LCID for the language.
May be 0 if IsValid is false.
|
| Name | Description | |
|---|---|---|
| Equals |
Compares two Language objects.
If they are both valid and have the same LCID they are considered equal.
If they are not valid they are considered equal if they have the same "ISO code".
(Overrides ValueTypeEquals(Object).) | |
| GetAllLcids |
Get all the possible Trados LCIDs from languages/locations known to TRADOS.
| |
| GetEnglishLanguageNameFromLcid |
Returns the English language name of the locale.
| |
| GetEnglishLanguageNameFromLcid(Int32) |
Returns the English language name of the locale specified by lcid.
| |
| GetEnglishNameFromLcid |
Returns the English language and region name of the locale specified by lcid.
| |
| GetHashCode |
Returns a hash code value for the Language object.
(Overrides ValueTypeGetHashCode.) | |
| GetIsoCodeFromLcid |
Converts between LCID and ISO language codes.
| |
| GetLanguageCode |
Convert a TRADOS primary language code to a TRADOS language code string.
| |
| GetLcidFromIsoCode |
Converts an ISO code to an LCID, taking TRADOS specific values into account.
| |
| GetLcids |
Returns all possible LCID values for the specified TRADOS primary language code.
| |
| GetLocaleInfo(LanguageFormat, Boolean) |
Retrieves the locale info.
| |
| GetLocaleInfo(Int32, LanguageFormat, Boolean) |
Retrieves the locale info.
| |
| GetNativeLanguageNameFromLcid |
Returns the language name in native format (script, spelling and form)
| |
| GetNativeLanguageNameFromLcid(Int32) |
Returns the language name in native format (script, spelling and form)
| |
| GetNativeNameFromLcid |
Returns the language name and region name in native format (script, spelling and form)
| |
| GetSchema |
Always returns null.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IsDefaultForCountry |
Determines whether this is the default LCID for the country
| |
| IsInstalledLcid | true if the specified LCID is supported by this operating system installation.
| |
| IsProprietaryLcid | true if the LCID is one of the TRADOS proprietary "LCID" values.
| |
| ReadXml |
Reads the 5-letter (TRADOS) ISO code from a <Language> element.
| |
| ToString |
Returns a String representing the Language object.
(Overrides ValueTypeToString.) | |
| UsesCharacterCounts |
Returns true if the language uses character counts.
| |
| UsesCharacterCounts(Int32) |
Returns true if the language (LCID) uses character counts.
| |
| WriteXml |
Writes the 5-letter (TRADOS) ISO code to a <Language> element.
|