How to set the language of the CMS through Java?

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

Hello Leroy,

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

Kind regards.

1 Like