Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bnovotny

    (@bnovotny)

    Okay, not sure why but those don’t get translated. I have the standard WordPress fields like First name. Last Name, Password all hard coded in on line 245 in the user-reg-aide-options.php file. It calls those from an array on the front end so that may be why they do not translate. Anyways, what I am thinking is just change the display names or second part of the array key after the => and in between the “” to the desired name in your language. Sort of hard for me to work with since I have no translation files so I had to install a spanish version of WordPress on my test machine.

    To make a long story short, in my spanish version, I changed the display name in that known fields array starting on line 345 in the user-reg-aide-options.php file after the => in between the “” and it worked fine, all I had to do was change the selected fields for the front end. As for your own custom fields you can also change the field title on the edit new fields page.

    Hope that helps

    Plugin Author bnovotny

    (@bnovotny)

    Oops, line 245 in the user-reg-aide-options.php file is where the known fields array begins.

    Plugin Author bnovotny

    (@bnovotny)

    ANother point to make here is the passowrd/confirm password fields are also hard coded into the registration form, they have the _e added, but apparently don’t translate as well, not sure since I don’t have a translation file to work with, but I am thinking that the front end may be linked to the wordpress install and not my plugins for translation. So in the file user-reg-aide-registrationForm.php starting on line 87 are the password/confirm password fields and there are 8 of them total ending around line 163 so make sure you catch them all. Or set up a couple variables at the top of the function and set those to your password/confirm password translated field names and then just add those in place of the field names i have, either way, which ever works best for you. I will dig further when I have the time to see if I can come up with a more permanent solution and update you if I find any other solutions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translation’ is closed to new replies.