Click or drag to resize
CultureInfoExtensionsGetCultureInfo Method (Int32, Boolean)
Returns the culture which corresponds to the specified locale, which may be a legacy LCID used internally by SDLX or Trados Translator's Workbench.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public static CultureInfo GetCultureInfo(
	int lcid,
	bool returnNullForUnknowns
)

Parameters

lcid
Type: SystemInt32
The locale identifier (lcid)
returnNullForUnknowns
Type: SystemBoolean
If true, null is returned for unknown languages. Otherwise, an exception is thrown. This will also be the case if the lcid represets a custom culture (in most cases, the lcid will be 4096 in this case).

Return Value

Type: CultureInfo
A CultureInfo object, or null if returnNullForUnknowns is true.
See Also
Community
Edit

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