| LegacyTradosLanguageGetLocaleInfo Method (LanguageFormat, Boolean) |
Retrieves the locale info.
Namespace: Sdl.Core.GlobalizationAssembly: Sdl.Core.Globalization (in Sdl.Core.Globalization.dll) Version: 1.8.0.0 (1.8.2687.0)
Syntaxpublic string GetLocaleInfo(
LanguageFormat languageFormat,
bool includeCountry
)
Public Function GetLocaleInfo (
languageFormat As LanguageFormat,
includeCountry As Boolean
) As String
public:
String^ GetLocaleInfo(
LanguageFormat languageFormat,
bool includeCountry
)
member GetLocaleInfo :
languageFormat : LanguageFormat *
includeCountry : bool -> string
Parameters
- languageFormat
- Type: Sdl.Core.GlobalizationLanguageFormat
An enum specifying whether to return the language info as English, Native or ISO form. - includeCountry
- Type: SystemBoolean
A boolean specifying whether to mention the region in the return string.
Return Value
Type:
StringA string describing the Locale id.
See Also
Comments