Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] resx resource not used correctly when applying template #1035

Open
jagopauwels opened this issue Jul 3, 2024 · 0 comments
Open

[BUG] resx resource not used correctly when applying template #1035

jagopauwels opened this issue Jul 3, 2024 · 0 comments

Comments

@jagopauwels
Copy link

jagopauwels commented Jul 3, 2024

Expected behaviour
On a multilingual site, when using Invoke-PnPSiteTemplate all translatable elements from the resx resource files should be applied, including the navigation nodes.

Actual behaviour
All translations are applied except for the navigation nodes, these are only applied in the sites default language.

Steps to reproduce behaviour

  1. Create a team site without M365 group with default language Dutch
  2. Connect to the new site with PnP.PowerShell
  3. Execute Invoke-PnPSiteTemplate with nav.xml
  4. Go to the site using a browser that is in English, the navigation will be in Dutch

Which operating system/environment are you running PnP PowerShell on?
We experience this bug in 2 environments

  1. On Azure in a C# project using PnP.Framework version 1.13.0
  2. Locally using PowerShell 7 and PnP PowerShell 2.5.0; I tried downgrading to 2.4.0 and 2.3.0 but the bug persists.

Extra Info
We have 3 tenants, in our test tenant the navigation nodes are created as expected... But in our quality assurance
and production tenants they are not.

Files (added .txt to be able to upload them, remove this when executing)
nav.xml.txt
NAV.nl-NL.resx.txt
NAV.en-US.resx.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant