SPWeb.OverwriteTranslationsOnChange 属性
Gets and sets a Boolean value that indicates whether changes made to user-specified text in the default language should automatically overwrite existing translations made in all alternate languages.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Property OverwriteTranslationsOnChange As Boolean
Get
Set
用法
Dim instance As SPWeb
Dim value As Boolean
value = instance.OverwriteTranslationsOnChange
instance.OverwriteTranslationsOnChange = value
public bool OverwriteTranslationsOnChange { get; set; }
属性值
类型:System.Boolean
If true, changes to user-specified text automatically overwrite translations made in alternate languages. If false, text in alternate languages is retained even though it might not be a valid translation of the text in the default language.
备注
User-specified text, such as the titles and descriptions of lists on the website, can be translated into the alternate language(s) supported by the site. When this text is changed in the default language for the site, the translated text can either be preserved, in which case it might no longer be a valid translation of the source text, or overwritten by the new text in the default language.