squido75 Posted March 11, 2015 Share Posted March 11, 2015 In the Create An Account page, assuming user did not enter a required field, it will generate an error. However, the error message refers to the field name in the authentication.tpl, and that is not quite user-intuitive. Example: "passwd is required". Some errors are generated through validation of AuthController.php, but I can't find where the "xxx is required" messages are generated. Any idea where to change so that it will display "Password is required"? Can I just change the 'name' attribute of the field in authentication.tpl? Link to comment Share on other sites More sharing options...
rocky Posted March 11, 2015 Share Posted March 11, 2015 Go to the Localization > Translations tab, select "Field name translations" in the dropdown, choose "English (English)" as the language and then click the Modify button to change the field names. For example, search for all "passwd" and enter the translation as "Password". Click the "Save" button when you've entered appopriate names for all fields. If you need to change the "is required" part, select "Error message translations" in the dropdown instead. Link to comment Share on other sites More sharing options...
squido75 Posted March 11, 2015 Author Share Posted March 11, 2015 Thanks rocky! Exactly solved my headache! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now