Skip to main content
All docs
V25.1
  • .NET 8.0+
    • The page you are viewing does not exist in the .NET Framework 4.6.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 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