Jun 10 2020 03:15 AM
Hi
I want to programmatically enable Multilingual support on a site. It seems like when I set Web.IsMultilingual = true, it does not get reflected on the site!? Translations is still turned off. If I turn on translations manually and then set Web.AddSupportedUILanguage(1053) via code, then Swedish translation is enabled.
Any idea?
Jun 10 2020 06:41 PM
Solution@Daniel Gustafsson
Web.IsMultilingual is something else altogether, a relic of the days when some site templates supported MUI and others didn't.
To enable the new Multilingual Page Publishing feature on a site, you have to add feature 24611c05-ee19-45da-955f-6602264abaf8
Jun 15 2020 11:54 PM
I don´t know what happened to my reply I posted. Anyway. Thanks. that worked along with web.AddingSupportedUILanguage(LCID)
Office Dev PnP are using the web.IsMultilingual in their code so I thought that flag was still applicable.
Jun 10 2020 06:41 PM
Solution@Daniel Gustafsson
Web.IsMultilingual is something else altogether, a relic of the days when some site templates supported MUI and others didn't.
To enable the new Multilingual Page Publishing feature on a site, you have to add feature 24611c05-ee19-45da-955f-6602264abaf8