How to enable Alternate Languages for all subwebs programmatically

Reading Time: 2 minutes

Hi guys! Sometimes happened that we need to enable Alternate Language on already existing websites, maybe after a language pack installation or just simply after an Information Architecture creation.

You can do it manually from Site Settings page

  • <siteUrl>/_layouts/15/regionalsetng.aspx

Risultati immagini per sharepoint alternate language

But, what happened if you have a lot of sites and nested websites? Here you can find a short snippet could you help you

 

You can run it using SharePoint Powershell or importing SharePoint PS Snapin (don’t forget it)

 

Have a nice day 😉

Note: C# code for adding alternate language support is illustrated in the MSDN in article: Understandingthe Multilingual User Interface here.

 

Leave a Reply

Your email address will not be published. Required fields are marked *