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.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 12.0.0
Syntax public static string GetUILocalizationCulture()
Return Value
Type:
StringSee Also