Click or drag to resize
PortalHelperGetUILocalizationCulture Method
Returns a code of culture which should be used for localization while taking into account current ViewMode. Only in case of LiveSite, UserWidgets or UserWidgetsDisabled the culture of content is returned, otherwise context of user interface is assumed and current user's preferred UI culture is returned.

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static string GetUILocalizationCulture()

Return Value

Type: String
See Also