• Hi,

    I’m using your plugin and I’m in the last stages of publishing a site in French.

    I’ve used the recommandations you provide regarding local translation, and it works very well.

    There is one big exception though: it seems some of the text used in the user-facing form is not being picked up for translation.

    You can reproduce the issue by browsing the link I’ve provided in French: if you select the email field, then move to another field, it triggers a message saying “* This field is required”, in English, despite having a “This field is required” record in the PO file along with a translation.

    I believe (out of my depth here, sorry if I’m wrong) this may be because the validationEngine doesn’t include proper translation flags?

    Let me know if I can do anything to help reproduce!

    Cheers,
    Pierre

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I think I know what is happening in your site.

    I assume you have completed the French po language file for your site. The language files in wordpress.org are not fully translated into French.

    Try the following, copy the po and mo French files from

    /wp-content/plugins/simple-membership/languages

    To

    /wp-content/languages/plugins

    Let me know what happens.

    Thank you

    Thread Starter pierren

    (@pierren)

    Thanks for the quick response, that was a great idea!

    It indeed fixes the “This field is required” translation.

    Of course it doesn’t deal with “This checkbox is required”, because it’s not in the POT/PO file at all… can you help with that?

    Cheers,
    Pierre

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi Pierre, I checked the Spanish translation and that field is translated into Spanish. Maybe try this, download the plugin locally into your computer/laptop. Then update your translation with the latest POT template file. Let me know if this helps you.

    Thank you

    Thread Starter pierren

    (@pierren)

    Hi,

    I just did this, and the POT file doesn’t seem to include the “checkbox” piece, even in the POT file (and it doesn’t show in the Spanish version either).

    The code as shown on the WordPress site shows the same thing: https://plugins.trac.wordpress.org/browser/simple-membership/trunk/languages/simple-membership.pot

    Are your working off of a different version?

    Cheers,
    Pierre

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    You can reproduce the issue by browsing the link I’ve provided in French: if you select the email field, then move to another field, it triggers a message saying “* This field is required”, in English, despite having a “This field is required” record in the PO file along with a translation.

    In my dev site this field is translated into Spanish. Are you using the Form Builder addon by any chance?

    Regards

    Thread Starter pierren

    (@pierren)

    Hi,

    No, but I’m using WPForms Lite.

    I couldn’t find a conflict with any of the PO files in the /wp-content/languages/plugins folder, not the /wp-content/languages/themes folder.

    Cheers

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I have submitted a message to the developers to investigate further your issue.

    Thank you

    Plugin Author wp.insider

    (@wpinsider-1)

    Our plugin’s registration form has no checkboxes. So I am not sure where the “This checkbox is required” message is coming from. Our plugin does not output the message “This checkbox is required”.

    Is this a form that you have created using a different plugin? Please note that we can only look at issues that are directly coming from our plugin only.

    Thread Starter pierren

    (@pierren)

    Hi,

    Thanks for looking at this wp.insider.

    There are up to two checkboxes on the user registration form, one to agree to T&Cs and one to agree to the Privacy Policy.

    You can see one of them in the link I provided. I switched off T&C agreement on my site, and I’ve done so using your plugin settings, not a custom form builder.

    Maybe what you’re saying is that they’re not generated by your plugin, but by generic WP code? If so, can you advise as to how we could fix this?

    Cheers

    Thread Starter pierren

    (@pierren)

    Hi wp.insider,

    Any thoughts on this?

    Thanks!
    Pierre

    Thread Starter pierren

    (@pierren)

    Hi mbrsolution & wp.insider

    Sorry to be a pain, but it’d be great if you could just tell me if you’re investigating this or whether I should try and figure it out on my own 🙂

    Cheers,
    Pierre

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, can you share a screen capture showing the error messages? This would help a lot.

    Thank you

    Thread Starter pierren

    (@pierren)

    Sure – see below.

    View post on imgur.com

    To make the checkbox appear, you need to check the box and then uncheck it.

    • This reply was modified 4 years ago by pierren.
    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for the image, I have shared this information with the developers.

    Kind regards

    Plugin Author wp.insider

    (@wpinsider-1)

    That JavaScript error message actually comes from a JavaScript library that we use. It is the following file:

    js/jquery.validationEngine-en.js

    It is not translatable at the moment.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Rule checks outside of translation scope’ is closed to new replies.