Click or drag to resize
TreeProviderChangeSiteDefaultCulture Method (String, String, String)
Changes default culture of the site. Removes old culture from the site and adds the new one. Changes culture of the documents in the old culture to the new one. Doesn't handle collisions of existing documents in new culture.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
public virtual void ChangeSiteDefaultCulture(
	string siteName,
	string newCultureCode,
	string oldCultureCode
)

Parameters

siteName
Type: SystemString
Site name
newCultureCode
Type: SystemString
New default culture code
oldCultureCode
Type: SystemString
Old default culture code
See Also