i am trying to add new site languages via PowerShell with this code:
$Context = Get-PnPContext $Web = $Context.Web $Context.Load($Web) Invoke-PnPQuery
$Web.IsMultilingual = $true $Web.AddSupportedUILanguage(1031) $Web.Update() Invoke-PnPQuery
But it is not working for the new experience and translation feature. It just show me default page for the language settings, but nothing has changed:
Is there a way to set it via PowerShell?
Regards,