All docs
V21.2
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET 5.0+
.NET Framework 4.5.2+
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.
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET 5.0+

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) Saves the specified culture in CookieRequestCultureProvider.DefaultCookie and reloads the page.
SetCultureAsync(String, String) Saves the specified culture in CookieRequestCultureProvider.DefaultCookie and reloads the page.
See Also