What's the best way to localise login form in Ash Authentication

What’s the best approach for translating labels in default sign-in screens?

I tried the following in the AuthOverrides, but it looks like the value is set at compile time, so setting the locale has no impact:

  override Components.Password.Input do
    set :identity_input_label, gettext("Email")
    set :password_input_label, gettext("Password")
  end

I think what likely needs to happen is that we need to do this internally, using gettext ourselves. Please open an issue or a PR :slight_smile:

3 Likes

Ok - I submitted an issue.

Guess what I’ve been doing over the holiday period :laughing:

2 Likes