Login Form Language Customization
Not sure if this is already implemented but I also need text fields in another language. For now, I will just dynamically translate on page load, but ideally there'd be props for each line on login form.
4 Replies
Hi @neogeofun. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the provided knowledge sources, I don't have specific information about language customization options for the login form text fields in Wasp. The documentation primarily focuses on customizing colors, logos, and adding additional fields, but doesn't mention language localization options.
However, you can customize the login form to some extent. Here are a few relevant points:
1. You can customize the appearance of the form, including colors and logo, by passing props to the LoginForm component Auth UI Customization (https://wasp-lang.dev/docs/auth/ui#customization-).
2. For more extensive customization, you might need to create your own form using Wasp's auth functions. As mentioned in a Discord support thread:
Discord support thread (https://discord.com/channels/686873244791210014/1220299304087060510)
Your current approach of dynamically translating on page load seems like a reasonable workaround given the available information. If you need more specific language customization options, you might want to consider creating a custom form using Wasp's auth functions, which would allow you to have full control over the text and translations.
For the most up-to-date information or to request this feature, you may want to check Wasp's GitHub repository or reach out to the Wasp community directly.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @neogeofun, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
It isn't enough Kapa, I still need Google login and it also has its own text fields.
Currently the auth form is not 100% customisable, sorry 🙂
It's an open issue for us: https://github.com/wasp-lang/wasp/issues/2174
GitHub
Make Auth UI Signup / Login forms more customizable · Issue #2174 ·...
allow changing the order of the default fields allow customizing text allow adding additional text
@miho that's fine, i dynamically update which works reliably