how to change website language in sp2016 cause cookie approach does not work (javascript)

Dariusz Kominek 21 Reputation points
2020-08-06T18:05:56.72+00:00

Hi :)
I try to switch language from English on website to alternative one (there are 3 to select). In javascript (jsom and rest) it is not possible. I also tried cookies solution but with no result. How can I achieve programmatical change of language in SP2016? Help will be very appreciated :)
Kind regards
Darek

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,608 questions
0 comments No comments
{count} votes

Accepted answer
  1. Baker Kong-MSFT 3,801 Reputation points
    2020-08-07T07:34:18.07+00:00

    Hi DariuszKominek-8002,

    Cookie option is used in previous versions of SharePoint. This option is not available in newer SP. The users need to select their preferred language in their User Profile Settings.

    Although the user profile settings could be changed by code, Unfortunately the updates won't immediately take effect in the UI, it may cost some minutes.

    The following threads discussed the similar issue, you can take a reference:

    Best Regards,
    Baker Kong


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.