Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to create multilingual newsletters using the Newsletter plugin and WPML. While the emails sent from the plugin are translated, the notification message that confirms an email has been sent is not translated and defaults to English. The client also noticed that the language parameter (/fr/) in the URL disappears after submitting the newsletter form, causing a redirect to the English page.

Solution:
First, we recommended verifying if the confirmation email is sent from the site or an external platform. If it's from the site, the client should:
1. Navigate to WPML > Theme and Plugins localization.
2. Select the 'Newsletter' plugin and scan it for strings.
3. Go to WPML > String Translation and search for the email text.
4. If found, add the translation by clicking on the '+' icon under the language flag.
If the strings are not found, we suggested following the guide on finding strings that don't appear on the String Translation page.

For the issue of the missing language parameter in the URL, the client resolved it by adjusting the URLs in the custom forms of the Newsletter plugin.

If the client's issue persists after following these steps, we asked them to replicate the issue in our sandbox environment and provide detailed steps for further investigation. The sandbox link is https://awesome-trumpet.sandbox.otgs.work.

Please note that the solution provided might be irrelevant due to being outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you need further assistance, please open a new support ticket at WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year ago.

Assisted by: Prosenjit Barman.

Author Posts
April 24, 2024 at 6:01 am #15558682

CHaupt

Tell us what you are trying to do?

I followed https://wpml.org/documentation/plugins-compatibility/beginners-guide-to-using-the-newsletter-plugin-on-multilingual-websites/ to create multilingual newsletters. Everything works fine, but i use double opt in and when i someone registers the message that an email has been send is always in english.

April 24, 2024 at 10:06 am #15559968

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacing WPML Support.

I understand you want to translate the confirmation email sent as part of the double opt-in process. Could you please confirm whether the confirmation email is sent directly from your site or from the Newsletter plugin platform?

If it is sent from your site, then you can try to search and translate the email text from the String translation section of WPML. Here's what you can do:

- Please go to "WPML > Theme and Plugins localization"
- Select the 'Newsletter' plugin and scan the plugin for strings.
- Once the scan is completed, please go to "WPML > String Translation' and search for the email text.
- If that appears in the result, add the translation by clicking on the '+' icon below the language flag.

But, if you're unable to find the strings, you can try following the instructions outlined here: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

However, if the confirmation emails are sent from the newsletter platform or any external platform, unfortunately, they can't be translated using WPML. WPML can only help translate content within your site that supports translations, not elements managed outside of it. I hope you can understand.

Please let me know if the suggestions helped or if you need further assistance. I will be happy to help.

Best regards,
Prosenjit

April 24, 2024 at 11:09 am #15560300

CHaupt

Hi, thanks for the fast reply. The emails are send from the plugin and are translated, but the notification message text that an email has been send is not translated.
I realized that the /fr/ in the url is gone after submitting the newsletter and it goes to the english page.

April 25, 2024 at 3:53 am #15563087

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update.

If the notification message you mentioned is sent from your site and is translated, then it's possible that the translation support hasn't been properly integrated, or the correct text has not yet been registered for translation.

Could you please verify in the Admin screen of the String Translation section whether the email texts have been registered for translation? Refer to the guide below for a comprehensive understanding of the process.

- https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

[If the Admin screen doesn't resolve the issue, feel free to explore the other methods outlined in the guide.]

If the issue persists despite following all the steps, we need to investigate whether the translation support is added for the confirmation mail or not. I kindly request you to try replicating the issue in our sandbox site given below.

- hidden link

WPML and its add-ons are already installed in the sandbox. Please install the Newsletter plugin you are using, complete the setup of both the plugin and WPML, and try to replicate the issue you experienced on your main site in our sandbox environment.

If you can replicate the issue, please provide detailed steps so I can review it and advise you on the next steps.

The sandbox environment is designed to help us investigate compatibility issues or identify the root cause of the problem. This way, if necessary, we can easily escalate the issue to the developers to investigate further.

Please let me know the update. We will be more than happy to help.

Best regards,
Prosenjit

April 25, 2024 at 5:38 pm #15567017

CHaupt

it was more simple then that. as i used custom forms in the newsletter plugin, i just had to adjust the urls in the post action.