Table of contents
TOC
Collapse the table of content
Expand the table of content

WebExtensions.SetLocalizationLabels Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Can be used to set translations for different cultures.

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static void SetLocalizationLabels(this Web web, String cultureName, String titleResource, String descriptionResource)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Site to be processed - can be root web or sub site

cultureName

  Type: System.String
  Culture name like en-us or fi-fi

titleResource

  Type: System.String
  Localized Title string

descriptionResource

  Type: System.String
  Localized Description string

Return Value

Type: void

Examples

web.SetLocalizationForSiteLabels("fi-fi", "Name of the site in Finnish", "Description in Finnish");

See also

© 2018 Microsoft