Home › Forums › Newsletter Plugin Support › Multilingual Link Issues
- This topic has 8 replies, 2 voices, and was last updated 1 month, 3 weeks ago by loicdelplanque22.
-
AuthorPosts
-
October 7, 2024 at 10:53 am #333428loicdelplanque22Participant
Hello, I have a problem with The Newsletter and sending emails in multiple languages. My forms are set up in four languages. While the first confirmation message is received in the correct language, the other messages with automatic links for updating the profile or the confirmation link (https://www.posters-photos.com/wp-admin/admin-ajax.php?action=tnp&na=c&nk=74-21565887ab) always redirect to the default language of the site, which is French for me. This is not optimal at all.
I tried modifying the translation of the emails in the English part by adding in the URL <a href=”{en/profile_url}”, but that does not work. How can I ensure that links in all four languages redirect to the correct language section of the site, please?
October 7, 2024 at 10:55 am #333431StefanoKeymasterHi, the page the subscriber is redirected to, is determined by its language. You should check if the subscriber has the language of the page shown.
If not, you should check on the Newsletter/Settings if a public page has been set for each language.
Anyway, you should have a notice on the plugin admin pages if the pages are not setup correctly.October 7, 2024 at 11:05 am #333433loicdelplanque22ParticipantHello, and thank you for this quick response.
I have checked that each language has the base newsletter page I created. Perhaps I need to create one for each language?
My first email arrives in the correct language, but the link inside always redirects me to the French part of the site, and the same goes for editing your profile.
Is it because it detects that I am French, and therefore it would be normal, or is it a misconfiguration on my part?
October 7, 2024 at 12:20 pm #333440StefanoKeymasterHi, the link redirects to an “action point” the should then redirect to the correct page. You should have a page for each language and on the Newsletter/Settings, changing the adin language on the topbar (WPML, PolyLang), you can set the correct page for each language.
Of course, the per-language pages can be the translation of the main public page.
This complication is because, with the multilanguage plugins, there are some time issues to get the correct link to the translated page.
October 7, 2024 at 2:28 pm #333472loicdelplanque22ParticipantThank you for your response. It’s true that I didn’t mention it, but I am using TranslatePress.
Creating a different page for each language is fine, no problem.
However, my main issue is that in the email received, if someone wants to modify their account information, they are redirected to the French version, and that’s what is problematic.
I also wonder if there is even a version of the admin available in four languages.
October 7, 2024 at 2:56 pm #333478StefanoKeymasterHi, when you have the public pages created for every language, the {profile_url} tag should redirect to the page with the language of the subscriber.
Be sure on the Settings to have those page selected for each language.October 7, 2024 at 3:46 pm #333484loicdelplanque22ParticipantI see what you are asking, but I don’t understand how to do it. I have a page at https://www.posters-photos.com/newsletter/ with the The Newsletter shortcode, and even though the page https://www.posters-photos.com/en/newsletter/ can be found using the selector on my site, it does not actually exist. It is generated by TranslatePress’s automatic translation. Therefore, I cannot link it in the TranslatePress settings to my English section, nor can I do the same for German and Spanish.
Moreover, I have no issues with text translation since TranslatePress translates everything automatically. My only problem, which is significant, is that when clicking on the confirmation link, it redirects to the French version, and the same happens when modifying the profile. Thank you for your help.
October 7, 2024 at 4:55 pm #333504StefanoKeymasterHi, on Newsletter/Settings, where you can change the public page you should change the current admin language.
Do you have the translatepress addon for the Newsletter plugin installed? Maybe it’s missing.October 7, 2024 at 5:19 pm #333509loicdelplanque22ParticipantI think I’m in the right place and I’ve successfully switched to English.
I can change the page without any problem, but I don’t have a physical page to assign; the URL is generated by TranslatePress. And I do have the TranslatePress plugin.
-
AuthorPosts
- You must be logged in to reply to this topic.