pnp / pnp/pnpframework

Get-PnPSiteTemplate -PersistMultiLanguageResources can't create resource files

Open
#999 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the reported Connect-PnPOnline and Get-PnPSiteTemplate commands, using the listed PnP PowerShell versions. Inspect Template.xml and the output directory for the expected Template.en-US.resx and Template.fr-FR.resx files; the work is done when -PersistMultiLanguageResources creates those resource files alongside the template.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
localization, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.