How edit error message for fields
-
How edit error message for fields. Is this possible?
Customize messages like:
WR_CONTACTFORM_CONFIRM_FIELD_INVALID
or
WR_CONTACTFORM_CONFIRM_FIELD_CANNOT_EMPTY
-
Hi manuelrc,
Thank you for the question. We are really sorry for this unconvenience. At the moment, the option for changing errors systems is not available. I believe that it will be ready in some next versions. If you encounter any problem, please do not hesitate to let us know!
Have you a good day
Sincerely,
WR Support TeamI hope so. Thank you.
Hi!
I am trying to edit the error messages, but I can’t do it.
I am using the 1..1.5 plugin version.How can I translate these messages?
Thanks
hi thiagoverly
Thank you for the message, Could you let me know which language you are using?
Sincerely,
TONYHi Tony!
I didn’t translate the .po file yet, my native language is portuguese (Brazil). So I am still using the default english language.
As a test I could translate the error messages directly in the file /libraries/gadget/contactform-js-form-frontend.php
}).append( $("<span/>", { "class":"validation-result label label-important", text:"Campo obrigatório" })))Thank you for your help!
Regardshi thiagoverly,
Thank you for the reply, you don’t have t translate the language file if you do not prefer. I will create portuguese language file for you so that error letters: WR_CONTACTFORM_CONFIRM_FIELD_INVALID will return the right letters.
Sincerely,
tonyThere are 3 steps to follow
1.You unwrap the first file into wr-contactform/libraries/languages
2.You unwarp the second file into wr-contactform/frontend/libraries
3.After that you place the code define (‘WPLANG’, ‘pt_BR’); in to the file: wp-config.php
1. http://www.mediafire.com/download/i7eajtkeevzu45m/libraries-languages-pt_BR.rar
2. http://www.mediafire.com/download/7q1jyf27dmfzjce/frontend-languages-pt_BR.rar
3. define (‘WPLANG’, ‘pt_BR’);
Sincerely,
tonyTony,
It is now working fine!
Thanks a lot and congratulations for the plugin!
🙂
hi thiagoverly,
Thank you for the cooperation and patience. If you feel satisfied with the plugin, would you mind giving us your review here
Sincerely,
TONYCould you provide es_ES file? Or How can I do that please?
hi manuelrc,
Thank you for the message, yes , are you using Spanish ? just let me know which language you are using on the site so that i can create one for you
Sincerely,
tonyYes Tony. I’m using Spanish. http://neutralperu.com/contacto/
hi manuelrc,
You just follow the steps like the guys above.
1.You place the first file into wr-contactform/libraries/languages
2.You place the second file into wr-contactform/frontend/libraries
3. After finishing, you add the code define (‘WPLANG’, ‘es_ES’); in to the file: wp-config.php
1. http://www.mediafire.com/download/8u98w7czagoilln/libraries-languages-es_ES.rar
2. http://www.mediafire.com/download/854wwpgmzevzaiq/frontend-languages-es_ES.rar
3. define (‘WPLANG’, ‘es_ES’);
Sincerely,
tonySure, I gonna rate the plugin! Thanks
Hi Tony,
I am getting one more issue.
When I receive the user contact by email from the WR ContactForm, all the accents (é, ê, ã) come with the code likeéI have tested the form with the name “José”, and in the email subject I got
"José"It is also happening when it saves in the MailChimp via API.
Could you please help me to fix it?
Thanks!
The topic ‘How edit error message for fields’ is closed to new replies.