# Change of site language in tutor

**URL:** <https://discuss.openedx.org/t/change-of-site-language-in-tutor/10244>\
**Category:** Site Operations Help\
**Tags:** api, how-to, tutor\
**Created:** [May 31, 2023, 5:42am UTC](https://discuss.openedx.org/t/change-of-site-language-in-tutor/10244 "2023-05-31T05:42:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aravind\_S](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/aravind_s/32/4951_2.png) [@Aravind\_S](https://discuss.openedx.org/u/Aravind_S)\
**Post date:** [May 31, 2023, 5:42am UTC](https://discuss.openedx.org/t/change-of-site-language-in-tutor/10244/1 "2023-05-31T05:42:37Z")

</div>

Hey! As per my application design, I have a requirement to update the “Site Language” in tutor using APIs. I had achieved this and I am able to update the language in the **openedx.user\_api\_userpreference** table by setting the values for “ **Key** , **Value** and **user\_id** ” fields.

But howeverm the value in the table changes when I refresh the accounts page in the LMS. Can anyone let me know how to solve this?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [August 29, 2023, 5:43am UTC](https://discuss.openedx.org/t/change-of-site-language-in-tutor/10244/2 "2023-08-29T05:43:09Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
