AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageDelegatingHandlerBase..::..SetCurrentLanguage Method

Sets the current language for the context and resets the ModuleEngine and SiteSettings to reflect the new language. Changing the CurrentLanguage will reset the ModuleEngine and SiteSettings<(Of <<'(T>)>>)()()()() to the correct language.

Namespace:  AdvantageCSP.API
Assembly:  AdvantageCSP.API (in AdvantageCSP.API.dll)

Syntax


public void SetCurrentLanguage(
	string abbreviation
)

Parameters

abbreviation
Type: String
The abbreviation for the new language.