• Resolved Basezero ADV

    (@smaily)


    Good evening,

    I use WPML to manage different languages of the site.
    I was able to translate the message strings but I cannot translate the text of the email.

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Author mkscripts

    (@mkscripts)

    Hi,

    You can find the email text (strings) in the same file as the other strings (download-after-email.pot). This applies to both the admin notification email and the email containing the download link. To translate the email containing the download link, make sure you leave the email content field empty when saving the settings on the page Admin Menu > Downloads > Messages. Otherwise the entered text will be used instead of the translatable string.

    For anyone not using a translation plugin, the following method can be used:

    You can create .po files from the file: /wp-content/plugins/download-after-email/languages/download-after-email.pot. One for each language. You could use Poedit for this. In the start screen you can select “Create new translation (from .pot)”. You will be asked to fill in the language code, for example en_EN. From the created .po file you need to create the compiled .mo file. Make sure the name is given like download-after-email-en_EN.mo. Place the .mo files in the folder /wp-content/languages/plugins. If this folder does not exist, you can create it manually. So the full path of the .mo file would be /wp-content/languages/plugins/download-after-email-en_EN.mo. Now the translated strings, available in this .mo file, will be used (unless fields were not left blank when saving the message settings page).

    For more specific questions about WPML, we refer you to the WPML support team.

    Please let us know if it worked and if you have any more questions, feel free to ask.

    Kind regards,
    Team Download After Email

Viewing 1 replies (of 1 total)
  • The topic ‘How translate Notification Email?’ is closed to new replies.