What SharePoint development model, framework, SDK or API is this about?
other (enter in the "Additional environment details" area below)
Developer environment
Windows
What browser(s) / client(s) have you tested
[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[X] other (enter in the "Additional environment details" area below)
Additional environment details
PnP.PowerShell 1.7.0
PowerShell 7.1.4
Windows 10 Enterprise
Describe the bug / error
When extracting a PnP Site Template from a Modern Communication site configured with an alternate language, and attempting to apply the site footer (SiteFooter) to a new Modern Communication site with the same alternate language configuration, only the alternate language footer labels are being applied. The default site language (in my case EN) labels are not being applied (or are being overwritten).
Steps to reproduce
Create a Modern Communication Site with English as the default language.
Configure an alternate language on the site (e.g., Spanish)
Author Footer navigation links in both languages (from Change the Look)
Extract a PnP Site Template using cmdlet below (with option to persist multi-language resource files)
Get-PnPSiteTemplate -Out template.xml -PersistMultiLanguageResources
Create a new Modern communication site with English as the default language
Configure the same alternate language on the new site (e.g., Spanish)
Apply the PnP Site Template to the new site (either the entire template, or specifically the SiteFooter handler - both result in same behavior).
Invoke-PnPSiteTemplate -Path ".\template.xml" -Handlers SiteFooter
Only the ES (Spanish) nodes are applied to the footer and displayed for all users visiting the site regardless of their language preference.
Expected behavior
The footer nodes from the source site with multi-lingual values for all nodes should be applied as-is to the target site.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
other (enter in the "Additional environment details" area below)
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
PnP.PowerShell 1.7.0 PowerShell 7.1.4 Windows 10 Enterprise
Describe the bug / error
When extracting a PnP Site Template from a Modern Communication site configured with an alternate language, and attempting to apply the site footer (SiteFooter) to a new Modern Communication site with the same alternate language configuration, only the alternate language footer labels are being applied. The default site language (in my case EN) labels are not being applied (or are being overwritten).
Steps to reproduce
Create a Modern Communication Site with English as the default language.
Configure an alternate language on the site (e.g., Spanish)
Author Footer navigation links in both languages (from Change the Look)
Extract a PnP Site Template using cmdlet below (with option to persist multi-language resource files)
Get-PnPSiteTemplate -Out template.xml -PersistMultiLanguageResources
Create a new Modern communication site with English as the default language
Configure the same alternate language on the new site (e.g., Spanish)
Apply the PnP Site Template to the new site (either the entire template, or specifically the SiteFooter handler - both result in same behavior).
Invoke-PnPSiteTemplate -Path ".\template.xml" -Handlers SiteFooter
Only the ES (Spanish) nodes are applied to the footer and displayed for all users visiting the site regardless of their language preference.
Expected behavior
The footer nodes from the source site with multi-lingual values for all nodes should be applied as-is to the target site.