TreeProviderChangeCulture Method |
Changes culture of the documents in old culture to the new one.
If there is an existing document in new culture, the old culture version is not changed to the new one.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntaxpublic virtual void ChangeCulture(
string siteName,
string currentCulture,
string newCulture
)
Parameters
- siteName
- Type: SystemString
Site name - currentCulture
- Type: SystemString
Current culture - newCulture
- Type: SystemString
New culture
See Also