Click or drag to resize
CultureInfoExtensionsGetCultureInfo Method
Overload List
  NameDescription
Public methodStatic memberGetCultureInfo(Int32)
Returns the culture which corresponds to the specified LCID. If the LCID is unknown or invalid, an exception is thrown. Note that this will also be the case for custom cultures, which seem to always get the same LCID (4096).
Public methodStatic memberGetCultureInfo(String)
Similar to GetCultureInfo(String), but covers culture names (<language-code>-<region-code>) which are used by SDLX and Trados Translator's Workbench, but have a different code in .Net.

Use this method to transparently map language codes (current and legacy ones) to cultures, for example when processing TTX, ITD, or TMX.

Public methodStatic memberGetCultureInfo(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.
Public methodStatic memberGetCultureInfo(String, Boolean)
Similar to GetCultureInfo(String), but covers culture names (<language-code>-<region-code>) which are used by SDLX and Trados Translator's Workbench, but have a different code in .Net.

Use this method to transparently map language codes (current and legacy ones) to cultures, for example when processing TTX, ITD, or TMX.

Top
See Also
Community
Edit

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