How to retrieve nodes in another language with Get-PnPNavigationNode in PnP PowerShell?

%3CLINGO-SUB%20id%3D%22lingo-sub-908529%22%20slang%3D%22en-US%22%3EHow%20to%20retrieve%20nodes%20in%20another%20language%20with%20Get-PnPNavigationNode%20in%20PnP%20PowerShell%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-908529%22%20slang%3D%22en-US%22%3E%3CP%3EGet-PnPNavigationNode%20returns%20the%20node%20titles%20in%20the%20default%20language%20of%20the%20site%20(I%20guess).%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIs%20there%20a%20way%20to%20retrieve%20the%20nodes%20translated%20in%20another%20language%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20not%20find%20a%20way%20to%20change%20the%20language%20on%20the%20connection%20or%20context.%3CBR%20%2F%3ECan%20we%20somehow%20add%20the%20%22accept-language%22%20header%20to%20the%20request%20sent%20to%20the%20REST%20services%3F%3C%2FP%3E%3CP%3EI%20assume%20this%20would%20help%20to%20retrieve%20the%20values%20for%20the%20corresponding%20language.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-908529%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Emui%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1108881%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20retrieve%20nodes%20in%20another%20language%20with%20Get-PnPNavigationNode%20in%20PnP%20PowerShell%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108881%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F36431%22%20target%3D%22_blank%22%3E%40Beat%20Gr%C3%BCring%3C%2FA%3E%26nbsp%3Bdid%20you%20end%20up%20finding%20anything%20further%20on%20this%3F%20Looking%20for%20the%20same%20thing.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1110076%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20retrieve%20nodes%20in%20another%20language%20with%20Get-PnPNavigationNode%20in%20PnP%20PowerShell%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1110076%22%20slang%3D%22en-US%22%3EUnfortunately%20no.%3C%2FLINGO-BODY%3E
Contributor

Get-PnPNavigationNode returns the node titles in the default language of the site (I guess).


Is there a way to retrieve the nodes translated in another language?

 

I could not find a way to change the language on the connection or context.
Can we somehow add the "accept-language" header to the request sent to the REST services?

I assume this would help to retrieve the values for the corresponding language.

4 Replies
No, the nodes are already there and also translated. I am looking for a way to retrieve them via PowerShell.

@Beat Grüring did you end up finding anything further on this? Looking for the same thing.