Programmatically create language variations of the Hub Mega Menu

%3CLINGO-SUB%20id%3D%22lingo-sub-1467046%22%20slang%3D%22en-US%22%3EProgrammatically%20create%20language%20variations%20of%20the%20Hub%20Mega%20Menu%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1467046%22%20slang%3D%22en-US%22%3E%3CP%3EHi.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20automatically%20create%20a%20structure%20with%20a%20hub%2C%20sites%20and%20pages%2C%20and%20of%20course%20at%20the%20same%20time%20create%20the%20Hub%20navigation.%20But%20I%20want%20the%20hub%20navigation%20to%20be%20in%20multiple%20languages.%20Anyone%20know%20how%20to%20programmatically%20translate%20a%20navigation%20node%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20using%20Office%20Dev%20PnP.%20I%20can%20achieve%20what%20I%20want%20by%20connecting%20with%20an%20account%20with%20English%20and%20create%20the%20Navigation%20Nodes%2C%20then%20connect%20with%20a%20Swedish%20account%20and%20translate%20the%20navigation%20nodes%2C%20and%20so%20on...%20but%20if%20I%20have%2010%20different%20languages%2C%20I%20need%20an%20account%20for%20each%20language%2C%20and%20that%20is%20very%20cumber%20some.%20I%20would%20be%20great%20if%20I%20could%20use%20the%20same%20account%20for%20this.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi. 

I want to automatically create a structure with a hub, sites and pages, and of course at the same time create the Hub navigation. But I want the hub navigation to be in multiple languages. Anyone know how to programmatically translate a navigation node? 

I am using Office Dev PnP. I can achieve what I want by connecting with an account with English and create the Navigation Nodes, then connect with a Swedish account and translate the navigation nodes, and so on... but if I have 10 different languages, I need an account for each language, and that is very cumber some. I would be great if I could use the same account for this. 

0 Replies