IPageLocale Property Ingeniux CMS Content Store API

Gets and sets the language of this page.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

ILocale Locale { get; set; }

Property Value

Type: ILocale
Remarks

Setting the locale of a page is retricted under several conditions:

The page doesn't inherit its locale from an ancestor page.

The page isn't the ancestor of a page that has its locale specified already.

If the above conditions are not met, calling this method throws an exception.

After the locale is set on a page, all the page's descendants inherit it unless the CanParentRegionRoots property is true.

If CanParentRegionRoots is true, this page will allow regions to to live under it, potentially allowing pages in another language as descendants.

See Also

Reference