AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageApiControllerBase..::..SetLanguage Method

Sets the current language based on the given abbreviation. Clears cached engines when the language changes.

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

Syntax


public Language SetLanguage(
	string abbreviation
)

Parameters

abbreviation
Type: String
The language abbreviation.

Return Value

The resolved language.