SPWeb.OverwriteTranslationsOnChange property

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.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property OverwriteTranslationsOnChange As Boolean
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Boolean

value = instance.OverwriteTranslationsOnChange

instance.OverwriteTranslationsOnChange = value
public bool OverwriteTranslationsOnChange { get; set; }

Property value

Type: 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.

Remarks

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.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace

UserResources

ExportUserResources(CultureInfo, Boolean, Stream)

ImportUserResources(CultureInfo, Stream)