No success updating text bundles

I don´t manage to update the login texts using property files. It always defaults to the base theme.
It works when using “edit message bundles” in the UI.

I have enabled internationalization in Realm. I´ve updated the locales to “locales=sv” in theme.properties and tried setting the value usernameOrEmail=E-post in the file messages_sv.properties.

messages_sv.properties is in the folder Keycloak\Keycloak-21.0.1\themes\custom-theme\login\messages

theme.properties is in the folder Keycloak\Keycloak-21.0.1\themes\custom-theme\login\messages

Thanks in advance

Have you also selected your “custom-theme” in your realm settings as the login theme?

theme.properties belongs into the login folder, not messages

Sorry! I wrote the incorrect path.
I had placed it correctly. But finally, I manged to get it to work. Had to stop, and restart the keycloak service a couple of times for the changed to happened.

Skickat från Outlook för iOS