View Categories

Email Translation Guide for User Registration & Membership Plugin

This comprehensive guide explains how to translate User Registration & Membership (URM) plugin email notifications into different languages using the popular multilingual plugin – WPML.

The User Registration & Membership plugin already supports email translation functionality, but requires proper configuration with multilingual plugins to work correctly.

Prerequisites: User Registration & Membership plugin (installed and activated).
✅ Translation plugin - WPML (Multilingual CMS or higher plan).

Step 1: Install and Configure WPML #

  1. Install WPML plugins:
    • WPML Multilingual CMS.
    • WPML String Translation.
    • WPML Translation Management (optional).
Install WPML Plugins

2. Run WPML Setup Wizard:

  • Navigate to WPML > Languages.
  • Complete the setup wizard.
  • Select your default language and additional languages.
  • Choose URL format (subdirectories recommended) and save the changes.
    Select Languages for Translation

    Step 2: Configure WPML String Translation Settings #

    1. Go to WPML > String Translation section.
    2. Enable “Look for strings while pages are rendered”.
    Enable Look for Strings While Pages are Rendered

    Step 3: Register URM Email Strings #

    Method A: Automatic Registration

    1. Navigate to WPML > Theme and plugins localization
    2. Click “Scan selected plugins for strings.”
    3. Select User Registration & Membership from the list
    4. Click “Scan” to register all translatable strings
    Scan Selected Plugins for String

    Method B: Manual Registration

    1. Create a page to trigger emails:
      • Create a new page or navigate to an existing page to trigger emails.
      • Embed the form that triggers email on this page.
    Email Translation Page

    Now, navigate to the Pages > All Pages and click on the + sign to translate the page into your preferred language.

    Click on Plus Sign to Translate Page

    Next, it will redirect you to the translation page. Here, click on the + sign to translate the Email Translation page. Save and complete the translation.

    Translate Page

    2. Trigger Email String Registration:

    Now, you need to trigger the email string by registering a test user.

    • Create a test user account.
    • Complete the user registration process.
    Submit Test Entry
    • Switch to each target language using the WPML language switcher.
    • Perform actions that trigger emails.
    • This registers email strings with WPML.

    Step 4: Translate Email Content #

    1. Access String Translation:
      • Go to WPML > String Translation
      • Filter by domain and look for strings containing “email”, “mail”, “message”, or “notification”
    2. Identify Email Strings: Common URM email string patterns:
      user_registration_successfully_registered_email
    3. Translate Strings:
      • Click the [+] or pencil icon next to each string
    Translate Email

    4. Add translations for each target language

    Preserve dynamic placeholders like:

    • {user_name} or {username}
    • {site_name} or {site_url}
    • {activation_link} or {reset_link}
    • {membership_plan}
    • {expiry_date}

    Example Translation:
    Original (English):Hi {{username}}, <br/> Congratulations! You have successfully completed your registration on <a href=”{{home_url}}”>{{blog_info}}</a>. <br/> {{membership_plan_details}} Please visit ‘<b>My Account</b>’ page to edit your account details and create your user profile. <br/> Thank You!

    German Translation: Hallo {{username}},
    Herzlichen Glückwunsch! Ihre Zahlung für die Registrierung bei {{blog_info}} wurde erfolgreich abgeschlossen.
    Sie können Ihre Zahlungsrechnung hier einsehen: {{payment_invoice}}
    Vielen Dank!

      You can use Google Translate to translate. Next, copy and paste the translated email.

      Translate Email Content

      Step 5: Test Email Translations #

      1. Create test accounts in different languages:
        • Switch site language using the WPML switcher.
        • Register new test accounts.
        • Verify emails arrive in the correct language.
      Example of Translated Email

      Similarly, you can translate form fields, email subject, and so on.

      Additional Resources #

      1. Learn how to resend the verification email in WordPress.
      2. Solve the WordPress not sending emails issue.

      Powered by BetterDocs

      Scroll to top