Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Search Results for 'validation translate'

Simple Membership Plugin › Forums › Search › Search Results for 'validation translate'

Viewing 14 results - 1 through 14 (of 14 total)
  • Author
    Search Results
  • July 6, 2021 at 10:19 am #22811

    In reply to: Translate validation popup on register page

    Wen
    Participant

    Yes, that was it, now there are 610 lines (of which are 278 translated) and the lines I was missing are already translated. I’ve created a new MO file and uploaded it and now the validation texts are nicely translated!

    Will you add this to a new update or do I have to put the MO file in /wp-content/languages/plugins/ to keep this version?

    Thankyou!

    July 5, 2021 at 10:51 am #22803

    In reply to: Translate validation popup on register page

    Wen
    Participant

    I opened the PO file (simple-membership-nl_NL.po) and can confirm that the following lines are not there to translate:

            $loc_data = array(
                'ajaxUserCall' => array(
                    'url' => admin_url('admin-ajax.php'),
                    'alertTextLoad' => '* ' . SwpmUtils::_('Validating, please wait'),
                ),
                'ajaxEmailCall' => array(
                    'url' => admin_url('admin-ajax.php'),
                    'alertTextLoad' => '* ' . SwpmUtils::_('Validating, please wait'),
                ),
                'email' => array(
                    'alertText' => '* ' . SwpmUtils::_('Invalid email address'),
                ),
                'required' => array(
                    'alertText' => '* ' . SwpmUtils::_('This field is required'),
                ),
                'strongPass' => array(
                    'alertText' => '* ' . SwpmUtils::_('Password must contain at least:').'<br>'.SwpmUtils::_('- a digit').'<br>'.SwpmUtils::_('- an uppercase letter').'<br>'.SwpmUtils::_('- a lowercase letter'),
                ),
                'SWPMUserName' => array(
                    'alertText' => '* ' . SwpmUtils::_('Invalid Username').'<br>'.SwpmUtils::_('Usernames can only contain: letters, numbers and .-_*@'),
                ),
                'minSize' => array(
                    'alertText' => '* ' . SwpmUtils::_('Minimum '),
                    'alertText2' => SwpmUtils::_(' characters required'),
                ),
                'noapostrophe' => array(
                    'alertText' => '* ' . SwpmUtils::_('Apostrophe character is not allowed'),
                ),
            );
    

    This peace of code is from the file class.simple-wp-membership.php, it loads the javascript validation code and here are some lines merged so they can be translated.

    I have manually added a line to the PO file, compiled it to a MO and uploaded it and now it’s working! Shall I add all those lines and send you the PO version?

    July 3, 2021 at 12:29 am #22799

    In reply to: Translate validation popup on register page

    mbrsolution
    Moderator

    Hi,

    I already tried Loco Translate as I wrote in the first post but those lines are not in there. It looks like the validation plugin is not using the WordPress translation files, only a javascript file.

    If that is the case, then you will have to use PoEdit to translate the po file located in /wp-content/languages/plugins/.

    Let me know if the above helps you.

    Thank you.

    July 2, 2021 at 12:15 pm #22798

    In reply to: Translate validation popup on register page

    Wen
    Participant

    I already tried Loco Translate as I wrote in the first post but those lines are not in there. It looks like the validation plugin is not using the WordPress translation files, only a javascript file.

    June 30, 2021 at 2:24 pm #22776
    [Resolved]

    Topic: Translate validation popup on register page

    in forum Simple Membership Plugin
    Wen
    Participant

    Is it possible to translate the validation popups on the registration form? I see there is a javascript file with english text, jquery.validationEngine-en, can I copy this file, translate the texts and add it somewhere? How do I make sure the form is using this version?

    I tried Loco translate but it seems these popup messages are only javascript and don’t use the WordPress translationsfiles.

    Kind regards,
    Wen

    February 9, 2021 at 2:13 pm #22115
    [Resolved]

    Topic: Membership Form Builder Addon translation

    in forum Simple Membership Plugin
    lollodev
    Participant

    Hello,
    I need to translate the error messages in <div class=”swpm-warning swpm-yellow-box”> that appear above the registration form.
    In particular I need to change the following: ” Already taken.” and ” Password does not match”.

    I found the “.pot” file in /wp-content/plugins/swpm-form-builder/languages/swpm-form-builder.pot
    I used “poedit” to translate the validation messages I needed.

    Not too sure where to save the resulting swpm-form-builder-it_IT.po and swpm-form-builder-it_IT.mo files.

    I placed them in different locations:
    /wp-content/plugins/swpm-form-builder/languages/
    /wp-content/languages/
    /wp-content/languages/plugins
    /wp-content/languages/swpm-form-builder

    Nothing seems to work.

    The only thing that works is to modify the error messages in /wp-content/plugins/swpm-form-builder/classes/class.swpm-fb-form.php
    How can I safely overide this file?

    What else can I do?

    Please let me know.

    September 23, 2018 at 7:53 pm #16480

    In reply to: Validation message form and Mini-login shortcode not translated

    maba
    Participant

    Hi,

    The sentence not translated is the following “Login Here | Not a member? Join Now”
    and some parts into the validation registration form

    “* Password must contain at least:”
    “- a digit”
    “- an uppercase letter”
    “- a lowercase letter”

    Thanks in advance for resolving the issue,
    -M

    September 20, 2018 at 3:47 pm #16447
    [Support request]

    Topic: Validation message form and Mini-login shortcode not translated

    in forum Simple Membership Plugin
    maba
    Participant

    Hi,

    Could you please tell me how can we translate all validation fields message from the form and Mini-login shortcodes sentences in French ?

    I’ve checked the PO file and everything is translated but some parts displayed from the front end are still in English.

    Can you please help?

    Many Thanks,
    MA

    PS: Great Plugin !

    June 30, 2018 at 6:32 am #14837

    In reply to: How can I switch the validation translation file

    mbrsolution
    Moderator

    Hi, as far as I know those validation files can only be translated as per the information provided in the shared link above.

    Also, do you have the latest plugin version installed?

    Kind regards

    June 29, 2018 at 10:02 pm #14834
    [Support request]

    Topic: How can I switch the validation translation file

    in forum Simple Membership Plugin
    gp
    Participant

    I want to transrate the validation engine file, so I found the those topics

    https://simple-membership-plugin.com/forums/search/validation+translate/

    The solution is edit the following file.

    /plugins/simple-membership/js/jquery.validationEngine-en.js

    But this js has many translations, that is better way to just switch language file.

    Is this only way to edit english file?

    April 29, 2017 at 2:15 am #10838

    In reply to: How to translate the error's field of registration form

    mbrsolution
    Moderator

    Hi, to translate those error messages you need to edit the following file.

    /plugins/simple-membership/js/jquery.validationEngine-en.js

    May 9, 2016 at 5:32 pm #6845

    Topic: Translation Validation in Spanish

    in forum Simple Membership Plugin
    Sunnyfields
    Participant

    Hello,

    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.
    Inge

    May 1, 2016 at 3:35 am #6794

    In reply to: Translation to Russian updated, but there is a problem…

    Sunnyfields
    Participant

    Yes I have that same problem, but in Spanish. Or is this part (validation) available in Spanish Language?

    I would like to buy the Addon Form Builder, but it depends on if the validation part can be translated… And if its possible, how do I do that?

    April 13, 2016 at 10:14 am #6446

    Topic: Translation to Russian updated, but there is a problem…

    in forum Simple Membership Plugin
    dimabuko
    Participant

    Hi!

    I updated Russian translation. I made full translation, you can get it here (and of course use it in future versions).

    MO — https://www.dropbox.com/s/gyxymnez2szlsp7/swpm-ru_RU.mo?dl=0
    PO — https://www.dropbox.com/s/2zk4ug3w87hhbrd/swpm-ru_RU.po?dl=0

    But the main reason for me when I create this update was to translate messages which user see on /membership-join/membership-registration/ form in validation messages (ex. This username is available and so on).

    Screen — https://www.dropbox.com/s/h1jgh6mexfsr5jw/Zrzut%20ekranu%202016-04-13%2013.07.36.png?dl=0

    But there is no such strings in POT or PO files you use. Please help, how to translate it? For my project it’s high priority issue.

  • Author
    Search Results
Viewing 14 results - 1 through 14 (of 14 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy