Hi there,
Can translations be added for the recovery fields that are generated when resetting / recovering a password? PasswordRecovery.cshtml and PasswordReset.cshtml have code like the below:
@foreach (LoopItem loginField in GetLoop("UserManagement:User.Login.Fields")) { <div class="form-floating @isInvalid"> <input type="text" name="@loginField.GetString("Field.Name")" id="@loginField.GetString("Field.Name")" class="form-control" placeholder="@loginField.GetString("Field.Title")"> <label for="@loginField.GetString("Field.Name")">@loginField.GetString("Field.Title")</label> <div class="invalid-feedback" for="@loginField.GetString("Field.Name")">@loginField.GetString("Field.Error")</div> </div> }
This doesn't allow translation of the placeholder and label. Could that be changed to something like this:
@foreach (LoopItem loginField in GetLoop("UserManagement:User.Login.Fields")) { <div class="form-floating @isInvalid"> <input type="text" name="@loginField.GetString("Field.Name")" id="@loginField.GetString("Field.Name")" class="form-control" placeholder="@Translate(loginField.GetString("Field.Title"))"> <label for="@loginField.GetString("Field.Name")">@Translate(loginField.GetString("Field.Title"))</label> <div class="invalid-feedback" for="@loginField.GetString("Field.Name")">@loginField.GetString("Field.Error")</div> </div> }
Thanks!
Imar