Get-PnPSiteTemplate -PersistMultiLanguageResources can't create resource files
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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