In my project keycloak version (26.0.7) Locale parameter variable name should be "ui_locales" with the "s" (yeah I know it looks like a typo...) the attached patch adds the option
Active
2.2
Code