Hi
I can't seem to find the place to translate extranet error like "Incorrect username or password."
Where is that handled?
/Rune
Hi
I can't seem to find the place to translate extranet error like "Incorrect username or password."
Where is that handled?
/Rune
Hi Rune
With the login you can overrule the error message using these hidden fields:
<input type="hidden" name="ForgotPasswordConfirm" value="Your password has been sent">
<input type="hidden" name="ForgotPasswordEmailNotFound" value="Email not found on user - cannot send password">
<input type="hidden" name="ForgotPasswordConfirmUserNotActive" value="User is currently not active - password not send">
BR Nicolai
Hi Nicolai
Ok, thanks!
How about "incorrect username or password" and "password expired"? Is there a complete list somewhere, or can you post it her? :-)
/Rune
Hi again
Any news to this?
Our client really misses the ability to translate these error messages.
Hi Rune
No news regarding this. You can do something like this in the template:
<!--@If Defined(DW_extranet_error_uk)-->
<!--@Translate("ForgotUserNameOrPassword", "Glemt brugernavn eller kodeord")-->
<!--@EndIf-->
Hi Nicolai
Yeah, that was my first thought as well, but the issue with that is, that I can't differentiate between "incorrect username or password" and "password expired".
Hi Rune
You can use <contains> in the conditional to see the difference:
I've noted a feature for being able to override these messages from the template.
BR Nicolai
Hi again.
Yeah, that would work, thanks.
Great that you've noted it as a feature though - would be nice :-)
Have a nice weekend.
/Rune
You must be logged in to post in the forum