IXafCultureInfoService Members
Declares members of a localization service.Properties
| Name | Description |
|---|---|
| CurrentCulture | Returns the current 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.
|
Events
| Name | Description |
|---|---|
| CultureChanging | Fires before a change of culture in the application. |
See Also