Skip to main content
All docs
V24.1
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

IXafCultureInfoService Members

Declares members of a localization service.

Properties

Name Description
CurrentCulture Returns the currect culture.
CurrentUICulture Returns the current UI culture.
SupportedCultures Returns a list of supported cultures. These cultures are defined in the Languages section in appsettings.json.
SupportedUICultures Returns a list of supported UI cultures. These cultures are defined in the Languages section in appsettings.json.

Methods

Name Description
SetCultureAsync(String, String) Saves the specified culture in CookieRequestCultureProvider.DefaultCookie and reloads the page.
SetCultureAsync(String) Saves the specified culture in CookieRequestCultureProvider.DefaultCookie and reloads the page.
See Also