Click or drag to resize
LegacyTradosLanguageGetIsoCodeFromLcid Method
Converts between LCID and ISO language codes.

Namespace: Sdl.Core.Globalization
Assembly: Sdl.Core.Globalization (in Sdl.Core.Globalization.dll) Version: 1.8.0.0 (1.8.2687.0)
Syntax
public static string GetIsoCodeFromLcid(
	int lcid,
	bool includeCountry
)

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: String
The 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
Community
Edit

Be the first to Edit the community content of this topic.
Comments