Skip Navigation

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.

This topic contains 5 replies, has 3 voices.

Last updated by Nicolas V. 7 months ago.

Assisted by: Nicolas V..

Author Posts
October 24, 2024 at 9:46 pm #16328519

Stacey

Background of the issue:
I am trying to get the Newsletter plugin to work with WPML on my site hidden link. I followed the documentation on WPML to create the translated page, lists, and have translated all the text in the Newsletter dashboard.

Symptoms:
If I use the built-in links in the Automated Newsletter, and the user clicks manage your subscription, they are taken to a 404 page. When a FR user unsubscribes from their FR profile page, they are taken to the EN page message and resubscribe button. A new issue has shown up where a new test user is automatically added to all lists despite choosing just one.

Questions:
Why are users taken to a 404 page when clicking manage your subscription in the Automated Newsletter?
Why are FR users redirected to the EN page message after unsubscribing?
Why is a new test user added to all lists despite selecting just one?

October 25, 2024 at 6:22 am #16329110

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

Can you please and confirm you have followed our related guide? To send newsletters to clients based on the language they used the subscription form in, you need to create a new newsletter for each language and assign it to the corresponding language list.

https://wpml.org/documentation/plugins-compatibility/beginners-guide-to-using-the-newsletter-plugin-on-multilingual-websites/

Regards,
Drazen

October 25, 2024 at 3:01 pm #16331204

Stacey

Hello Dražen,

Yes, I did use your related guide and created an automated newsletter in both languages. I also followed the Newsletter plugin documentation to create custom profile pages in my 2 languages.

My newsletters are sending without issue. The problem is with some of the links ie. built in links for changing profile, unsubscribe, resubscribe where I have the issue.

I see that the translations for unsubscribe, resubscribe, etc. are all there in the backend of the plugin dashboard, but, for instance, when the user clicks the footer link from their FR automated newsletter, they are taken to the EN page and related notification.

I should also note that I'm using the following language URL format: Language name added as a parameter (hidden link - French)

Thank you!

Screenshot 2024-10-25 at 10.54.53 AM.png
Screenshot 2024-10-25 at 10.53.16 AM.png
Screenshot 2024-10-25 at 10.53.05 AM.png
Screenshot 2024-10-25 at 10.50.12 AM.png
October 28, 2024 at 11:19 am #16337421

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hello,

The problem is with some of the links ie. built in links

Do you have an option page to set those links? If so, please try the following:
- Go to "WPML > String Translation" and search for your link.
- If you can't find them, scroll at the bottom of the page and click on "Translate texts in admin screens".
- On the next page, search your link, select it (checkbox at the left) and click on "Add to String Translation".
- Go back to "WPML > String Translation" to translate it.

If the issue persist after that, could you please provide me with a temporary admin access (wp-admin and FTP) – preferably to a staging copy where the issue has been replicated – so I can further investigate. I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.

IMPORTANT: Before we proceed, please backup your site and database.

November 4, 2024 at 3:17 pm #16361834

Stacey

Hello,

Just to let you know that the Newsletter plugin developer was able to fix my issue.

It was a problem with me using 'Language name added as a parameter'.

The Newsletter plugin developer has add something to their latest update that includes a fix when using 'Language name added as a parameter'.

So all is working now.

Thank you,
Stacey

Newsletter Plugin Changelog
8.6.0

Fix for WPML continued

8.5.9

Fixed dashboard steps (not updating)
Added subscriber events generated by external delivery services (bounced, complained, …)
Fixed public redirections with WPML landing on the wrong language when the URL mode is set to add the lang parameter (seems something new)
Added fix to the upgrade procedure for invalid values already present on the wp_options table

November 4, 2024 at 8:12 pm #16363260

Nicolas V.
Supporter

Languages: English (English ) French (Français )

Timezone: America/Lima (GMT-05:00)

Hi Stacey,

I'm glad that their support was able to identify the issue and provide a solution for it.

Thank you for your feedback, it will certainly help other users.