Auth0 Home Blog Docs

Set internationalization in custom Login Form

Hi everybody, I’m having problems setting different languages in the custom universal login.
Anybody can help me how can I set that. I have tried in Lock , but in custom I am very lost. Please!

Hey there!

Can you tell us what have you been trying to leverage so far to achieve that?

1 Like

Sure, In the custom Login form template I have been trying to set the language in different ways but it doesn’t recognize the language as in Lock Template.
Something like this:
I have pass the language in the call and in the configuration (tempalte) I have set manually the language but it does’t work. Do you know how can I set that?
Call:
(ui_locales=es)
https://------.auth0.com/login?state=g6Fo2SBiQ2F5aTlHQUp2aVZtZU91TXhPd05jUlNfZ01ZNTNDcaN0aWTZIDhrRTdmSkR6WlRxSGc4REc0REduNGs4TUZhRTB4andto2NpZNkgTUh4d3R6VllDRkxMWUoxODhyZTBjYXp4eFNXY2IzS0Q&client=MHxwtzVYCFLLYJ188re0cazxxSWcb3KD&protocol=oauth2&redirect_uri=http%3A%2F%2Flocalhost%3A8080&ui_locales=es&scope=openid%20profile%20email&response_type=code&response_mode=query&nonce=skxYuJ.dmrwKgaAeXtMv5NZPGBOLPm4DILjz4mUdsjB&code_challenge=xwYnGTcQpH0zplhJZwFnrPis0m3ig47V5Cu7OvnM_cE&code_challenge_method=S256&auth0Client=eyJuYW1lIjoiYXV0aDAtc3BhLWpzIiwidmVyc2lvbiI6IjEuMy4wIn0%3D

Custom Login Form Template: