I am trying to add a change language functionality to SharePoint master page via the MUISelector control. However, when added, it renders only the JavaScript
// <![CDATA[ // <![CDATA[ function OnSelectionChange(value) { document.cookie = "lcid=" + value + ";path=/"; window.location.reload(false); } // ]]> // ]]>
The drop-down is not rendered at all. Anyway, I tried running the JavaScript manually to set the cookie's value to a different lcid - 1031, 1026, etc. The page reload occurs, the cookie is set, but the language is not changed.
The portal DOES have the language (German - Germany locale), the user DOES have the language in her / his selected display languages.
Is this a bug or is there any other way for implementing language change in SharePoint Online portals?