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

Get-PnPSiteTemplate -PersistMultiLanguageResources can't create resource files #999

Open
ez1003 opened this issue Mar 25, 2024 · 2 comments

Comments

@ez1003
Copy link

ez1003 commented Mar 25, 2024

I ran the below commands to get a template file with resource files.

Connect-PnPOnline -Url "https://mytenant.sharepoint.com/sites/TemplateSite" -Interactive

Get-PnPSiteTEmplate -Out "Template.xml" -PersistBrandingFiles -IncludeAllPages -PersistMultiLanguageResources

I can have only Template.xml even though I used the option -PersistMultiLanguageResources.
I could get Template.en-US.resx and Template.fr-FR.resx 10 days ago with a same command.

In the Template.xml, there's SupportedUILanguages but, there's still no resource files.

pnp:SupportedUILanguages
<pnp:SupportedUILanguage LCID="1033" />
<pnp:SupportedUILanguage LCID="1036" />
</pnp:SupportedUILanguages>

The PnP PowerShell versions I tried are:
Manifest 2.4.23 nightly PnP.PowerShell
Manifest 2.4.0 PnP.PowerShell

@DanielMisch
Copy link

Same here.

@AndersRask
Copy link

AndersRask commented Apr 15, 2024

**This should be moved to PowerShell project

@KoenZomers @gautamdsheth it looks like resource generation is broken in current release. I can repro both on current release and on 2.3.61 nightly.

No resx file gets produced even though PersistMultiLanguageResources is specified.
If you downgrade to lower versions (2.3.0) with exact same parameters it works fine.

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

3 participants