Get / Set the SharePoint UI language code via jQuery / Javascript

I was searching around how to get and set the SharePoint UI language for a user (the language of SharePoint when a user is logged in) for a multilanguage project.

John Liu helped me out on the msdn forum:


To set the language for a user (make sure you have the required language packs installed) – via Mike Smith:

<button onclick="OnSelectionChange(1036)">

<button onclick="OnSelectionChange(1033)">



About: Marijn

Marijn Somers (MVP) has over 14 years experience in the SharePoint world, starting out with SP2007. Over the years the focus has grown to Office 365, with a focus on collaboration and document management. He is a business consultant at Balestra and Principal Content Provider for "Mijn 365 Coach" that offers dutch employee video training. His main work tracks are around user adoption, training and coaching and governance. He is also not afraid to dig deeper in the technicalities with PowerShell, adaptive cards or custom formatting in lists and libraries. You can listen to him on the biweekly "Office 365 Distilled" podcast.

One thought on “Get / Set the SharePoint UI language code via jQuery / Javascript”

  1. Pingback: Anonymous

Leave a Reply