Simple Membership Plugin › Forums › Simple Membership Plugin › Translation Validation in Spanish
- This topic has 5 replies, 2 voices, and was last updated 10 years ago by
mbrsolution.
-
AuthorPosts
-
May 9, 2016 at 5:32 pm #6845
Sunnyfields
ParticipantHello,
I have the registration form in Spanish, but can you tell me how to translate the validation part:
1. This user name has already been taken
2. This user name is available
3. etc. etc…Thanks.
IngeMay 10, 2016 at 5:36 am #6848mbrsolution
ModeratorHi Inge, you can edit those texts in the following file: simple-membershp/js/jquery.validationEngine-en.js.
May 10, 2016 at 7:02 pm #6856Sunnyfields
ParticipantSorry could you please tell me how to do this? I have no idea about coding.
Thanks you…
May 10, 2016 at 9:25 pm #6859mbrsolution
ModeratorHi, no problem. In actual fact all you are doing is replacing the English text with Spanish text. First make sure you have created a backup just in case.
While you are logged in as an admin, go to Plugins -> Editor. Then from the top right hand side search for this plugin in the drop down menu. Once you find this plugin click on the Select button on the right hand side. Then you will see a lot of files on the right hand side. Scroll down until you find simple-membership/js/jquery.validationEngine-en.js file. Once you find this file click on the file and it will display on the left side panel. Here you can edit the file, make sure you only edit the text located in between the “” open and close double quotes. For example in the following code I have highlighted the text that needs to be edited into Spanish. In your case you might replace this text with the following Spanish text * Debe rellenar uno de los siguientes campos.
“groupRequired”: {
“regex”: “none”,
“alertText”: “* You must fill one of the following fields”When you look at the form from the front end you will notice all the warning messages that are displayed, that will give you an idea of what you have to edit on the backend as pointed out above.
Let me know if you need more help.
May 11, 2016 at 7:36 pm #6862Sunnyfields
ParticipantIt works!!! 🙂
Thank you so much for taking the time to help me!
May 11, 2016 at 9:23 pm #6863mbrsolution
ModeratorYou are most welcome 😉 I am glad it helped you.
Kind regards
-
AuthorPosts
- You must be logged in to reply to this topic.