| LegacyTradosLanguageGetIsoCodeFromLcid Method |
Converts between LCID and ISO language codes.
Namespace: Sdl.Core.GlobalizationAssembly: Sdl.Core.Globalization (in Sdl.Core.Globalization.dll) Version: 1.8.0.0 (1.8.2687.0)
Syntaxpublic static string GetIsoCodeFromLcid(
int lcid,
bool includeCountry
)
Public Shared Function GetIsoCodeFromLcid (
lcid As Integer,
includeCountry As Boolean
) As String
public:
static String^ GetIsoCodeFromLcid(
int lcid,
bool includeCountry
)
static member GetIsoCodeFromLcid :
lcid : int *
includeCountry : bool -> string
Parameters
- lcid
- Type: SystemInt32
An LCID identifier - includeCountry
- Type: SystemBoolean
if true the returned ISO language code includes the ISO country code separated
from the language code with a dash (e.g. en-US).
If false only the 2 character ISO language code will be returned.
Return Value
Type:
StringThe ISO code corresponding to
lcid
Remarks
This method also supports the TRADOS specific locales that are not otherwise supported by Windows and .NET.
See Also
Comments