Okay
  Public Ticket #2735324
Email edits + translation
Closed

Comments

  •   Helena started the conversation
  •  2,214
    WebWizards replied

    Hi Helena,

    1)

    Normally the string can be modified through translation. There may be a way for "TranslatePress" to translate it, but I do not know how as I don't know the plugin very well - you would have to ask their support team.

    We usually use Loco Translate where the string is translatable as follows:

    3588880638.png



    2) There is another option to translate it with a snippet

    Add this code snippet:

    add_filter('b2bking_new_account_email_approval_notification', function($text){
        $text = 'your translation here';
    });

    To add a snippet:

    https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/


    Kind regards,

    Stefan

  •  7
    Helena replied

    Hi,

    Thank you for your reply. Using Loco Translate, I added the French language to B2B King. But in the source text, I can't find the passage of the email that says:

    "Attention! Your account requires manual approval. Our team will review it as soon as possible. Thank you for understanding."

    As you can see on the attached screenshot1 and screenshot2, I searched through different key words but the results shown are not the same as the text in email. Whereas I can find this text in the other existing languages (Italian, Polish and Dutch). Example with Italian language on screenshot3 and screenshot4.

    Kind regards

  •   WebWizards replied privately
  •  7
    Helena replied

    Hi,

    Thank you! Now I can find the text.

    How can I be informed of the plugin's updates? I don't receive any notification neither in the backend nor by email. Yet, in my EnvatoMarket account, I checked the box "Get notified by email if this item is updated".

    Kind regards

  •  2,214
    WebWizards replied

    Glad to hear that worked,

    We seem to have an issue with EnvatoMarket API for updates - for some reason our plugin is not correctly recognized by their system - we are in touch with their developers to hopefully get this resolved.

    Meanwhile, I would suggest you follow us on https://www.facebook.com/b2bking.woocommerce.b2b/ for the latest info about updates. For critical / security updates we also have a separate mechanism to notify customers.

  •  7
    Helena replied

    Hi,

    Ok, I just subscribed to your Facebook page.

    Best regards