Click or drag to resize
CultureHelper Methods

The CultureHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetCultureInfo
Gets the culture info for specified culture. If culture code is invalid, then english culture is returned.
Public methodStatic memberGetDefaultCultureCode
Returns the default culture code.
Public methodStatic memberGetFacebookCulture Obsolete.
Converts culture code to Facebook culture code.
Public methodStatic memberGetOriginalPreferredCulture
Returns the user original preferred culture.
Public methodStatic memberGetPreferredCulture
Returns the user preferred culture (reflects the virtual context).
Public methodStatic memberGetPreferredUICultureCode
Returns the user preferred UI Culture code.
Public methodStatic memberGetShortCultureCode
Returns the short culture part, just the main culture identifier ("en-us" => "en").
Public methodStatic memberIsCultureRTL
Returns true if specified culture is right to left culture.
Public methodStatic memberIsNeutralCulture
Checks if culture code is neutral culture code.
Public methodStatic memberIsPreferredCultureRTL
Returns true is current content culture is right to left culture.
Public methodStatic memberIsUICultureRTL
Returns true if current UI culture is right to left culture.
Public methodStatic memberIsValidCultureInfoName
Check if culture code is valid DotNet culture code (All cultures that ship with the .NET Framework, including neutral and specific cultures, cultures installed in the Windows operating system, and custom cultures created by the user).
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Public methodStatic memberSetPreferredCulture(String)
Sets the user preferred culture.
Public methodStatic memberSetPreferredCulture(String, Boolean, Boolean)
Sets the user preferred culture.
Public methodStatic memberSetPreferredUICultureCode
Sets the user preferred UI Culture code.
Top
See Also