• Resolved duivelkewilly

    (@desmetjozef)


    Dear

    After the update the new feature welcome text:

    Hello,
    Thank you for subscribing to our site. We have successfully received your application and are currently awaiting approval.
    The administrator will review the information submitted, after which he or she will either approve or refuse your request. You will receive an email with instructions on what to do next.
    Thank You

    I want to translate the text to dutch but the text is not in the po file

    Is there an option for this ?

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @desmetjozef,

    Thank you for contacting us, You will have to regenerate the .po file after adding this function to child theme’s function.php

    add_filter('new_user_approve_welcome_user_message', 'add_translation_function_to_welcome_email');
    
    function add_translation_function_to_welcome_email($message) {
    
    $message  = ('Hello,', 'new-user-approve') . "\r\n\r\n";
    
    $message .= ('Thank you for registering on our site. We have successfully received your request and is currently pending for approval.', 'new-user-approve') . "\r\n";
    
    $message .= ('The administrator will review the information that has been submitted after which they will either approve or deny your request. You will receive an email with the instructions on what you will need to do next.', 'new-user-approve') . "\r\n\r\n";
    
    $message .= ('Thank You', 'new-user-approve');
    
    return $message;
    }
    Thread Starter duivelkewilly

    (@desmetjozef)

    Dear
    i am a layman and know nothing about function.php, so i have no idea what you mean and what i should do.

    The only thing I know is the po file because I have translated many plugins into dutch

    I’m sorry but is there any easy way to explain to me what and where to make adjustments.

    Thank you
    regards

    Hi @desmetjozef,

    We have released an update. Please update the plugin to its latest version and let us know how it works for you? If you still need assistance with anything, please feel free to let us know.

    Thanks!

    Thread Starter duivelkewilly

    (@desmetjozef)

    Beste

    Update works fine, thank you very much

    Fantastic plugin works great.
    Thank you to the creators of this plugin.
    5 Stars without any doubts.
    Greetings

    Hi @desmetjozef,

    We would appereciate a kind and honest review.

    Hello! I’m trying to translate the message into Portuguese-BR, I try to put this code in function.php, but the following error appears:

    syntax error, unexpected ‘,’

    Hi @patriciaadriely,

    Sorry for the inconvenience,

    Kindly use the below code.

    You will have to regenerate the .po file after adding this function to the child theme’s function.php

    add_filter('new_user_approve_welcome_user_message', 'add_translation_function_to_welcome_email');
    
    function add_translation_function_to_welcome_email($message) {
    
    $message  = __('Hello,', 'new-user-approve');
    
    $message .= __('Thank you for registering on our site. We have successfully received your request and is currently pending approval.', 'new-user-approve') . "\r\n";
    
    $message .= __('The administrator will review the information that has been submitted, after which they will either approve or deny your request. You will receive an email with the instructions on what you will need to do next.', 'new-user-approve') . "\r\n\r\n";
    
    $message .= __('Thank You', 'new-user-approve');
    
    return $message;
    }

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘New feature after update’ is closed to new replies.