pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
987 stars 665 forks source link

Lcid 1034 not supported #2517

Open joananms opened 4 years ago

joananms commented 4 years ago

The Spanish 1034 language is not supported with New-PnpTenantSite and Apply-PnPProvisioningTemplate. Thanks.

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

jackpoz commented 4 years ago

Hi @joananms , I checked the supported LCIDs with this command (it's mentioned at https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/new-pnptenantsite?view=sharepoint-ps )

(Get-PnPWeb -Includes RegionalSettings.InstalledLanguages).RegionalSettings.InstalledLanguages

The Spanish language is referenced with LCID 3082

DisplayName LanguageTag Lcid
Español es-ES 3082

This is also the same LCID of a site created from SharePoint admin center with "Spanish" language selected (you can check the ID using this script)

(Get-PnPWeb -Includes RegionalSettings.LocaleId).RegionalSettings.LocaleId