# How to set the language of the CMS through Java?

**URL:** <https://community.bloomreach.com/t/how-to-set-the-language-of-the-cms-through-java/3976>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [June 12, 2023, 10:09am UTC](https://community.bloomreach.com/t/how-to-set-the-language-of-the-cms-through-java/3976 "2023-06-12T10:09:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leroy](https://avatars.discourse-cdn.com/v4/letter/l/e0b2c6/32.png) [@Leroy](https://community.bloomreach.com/u/Leroy)\
**Post date:** [June 12, 2023, 10:09am UTC](https://community.bloomreach.com/t/how-to-set-the-language-of-the-cms-through-java/3976/1 "2023-06-12T10:09:54Z")

</div>

Hi everyone,

I’m a fairly new Bloomreach developer and I’m trying to set the user language through the java code. Our current setup is that there is Azure AD authentication to the CMS. Normally if you login you can select the language through the language picker, but since we’re setting the session through the java code (with the help of a HST filter) I see no way to set the language.  
Can anyone help me with this question?

Kind regards,  
Leroy

---

<div class="post-metadata">

**Author:** ![Lef\_Karamoulas](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/lef_karamoulas/32/82_2.png) [@Lef\_Karamoulas](https://community.bloomreach.com/u/Lef_Karamoulas)\
**Post date:** [June 12, 2023, 10:15am UTC](https://community.bloomreach.com/t/how-to-set-the-language-of-the-cms-through-java/3976/2 "2023-06-12T10:15:48Z")

</div>

Hello Leroy,

you can use this plugin [GitHub - bloomreach-forge/localization-shortcut: Change your current locale and timezone from the CMS](https://github.com/bloomreach-forge/localization-shortcut)  
which was developed specifically for such cases.

Kind regards.
