Saltar navegación

[Resuelto] Email notifications translation does not apply

This support ticket is created hace 5 años, 4 meses. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Etiquetado: 

Este tema contiene 10 respuestas, tiene 2 mensajes.

Última actualización por Beda hace 5 años, 3 meses.

Asistido por: Beda.

Autor
Mensajes
#1327889

Site set up year ago.
At some moment user registration e-mails in English only.
Strings translated with [wpml-string] and without.
As fixing no success, decided to update all the software - WP, Toolset, WPML.
Toolset Starter Child theme in use.

#1328575
1139770-Screen_Shot_2018_11_04_at_9.37.40_AM.png

Please head to WPML > String Translation and find the text domain for the Form's notification you want to translate, see the attached screenshot, and also https://toolset.com/forums/topic/email-notifications-are-do-not-translate-properly/#post-597671

If all your strings are translated and saved as translated then it should produce as well translated notifications.
If this is not the case, I'd suggest asking WPML Support for help, as translation is generally an aspect of WPML.
I can help here, for now, just as a general suggestion 🙂

I also have to suggest changing the theme when possible, as the Toolset Starter Theme is deprecated we do not maintain it anymore.
You can, of course, use it, but you wouldn't get any updates for it and would have to maintain it on your own.

For the moment being, if all strings are translated as required, and this still doesn't work, I'd then suggest on a testing site to check without any other Plugin but Toolset and WPML, also changing the Theme.

If then things work, it must be a compatibility issue with another software, please let me know which one, in case you find a conflict.

If even with just Toolset and WPML things do not work as expected, or if you recall exactly what provoked the issue (maybe it was an update?), maybe you could then add a Copy of your site, in the next reply, with instructions of what form's notification is not sent translated?
I can then deploy this locally and see what's wrong, and eventually help you to fix it on the live site as well

Thanks!

#1329833

All strings related to notification have status "Translation complete".
All the software specially chosen by OnTheGoSystems to avoid complications.
Theme change means a week additional work to redesign all the front and back-end.
Will ask WPML Support. Keep this case open for a week, if it is ok.

Thanks Beda!

#1330159

You would not need to redesign the front end just to test the notifications, but I agree that you should not do that on a live site.
I can help you with it.

I'd need a copy of this site, if possible, and the precise links to the Forms that have notifications which are wrongfully sent untranslated.
Also, I'd need the link to the page where I can send the forms in.

I can then test locally and see what is happening.
Here is explained how you can create a copy of the site:
https://toolset.com/faq/provide-supporters-copy-site/

#1331301

I replicated the issue locally but see that you do not use Translation Management, required to use Layouts with WPML.

I also see that the actual user emails are translatable in String Translation, emails like user.user@gmail.com
That makes poor sense to me, emails cannot be translated as far I know - but WPML offers it. I would ask for clarification about this in WPML
You can see the emails translatable in enlace oculto for example.

Now, I am trying to figure out how to replicate this and will report it to the developers (the emails not sent in translated format).

I'll update you as soon I have news about further process.

#1331349

We have Translation Management in use on live site.
I just remove all real users, media files and some more before cloning.
Translation Management is now back on dev site.

#1331421

Here's what I found on your duplicate.

1. Please head to the Form in question, and enter the Emails content all in english, even your site is set to use Estonian as default language and even if you edit the Toolset form in Estonian Admin.
2. Save the Form, and head to WPML > String Translation
3. Find ALL texts you entered in the notifications (header, body, everything). They should appear all as "English" strings, to be translated to Estonian and Russian. IF NOT; please change the language of the strings in WPML`s String Translation screen, just below the list of strings you can change their set language to English.
4. Now translate the strings to Estonian and Russian, mark as complete, and save each of them
5. Then, the form sends an adequate email, depending on whether it is inserted in an English Page or Estonian page.

You can test this on the Duplicate, which I created from your copy (it does not hold 3rd party plugins or theme for simplicity but you can see how the strings are working and are translated, so to adapt it to your live site.
enlace oculto
Login with root/root (or you can reset during the deployment)

Above should resolve the issue.

#1333259

Thanks Beda!

Especially for the Duplicate you created, so i can see it's possible. I do follow all 5 of your instructions, allways did this way, but still can't get it work on live. Can you help me on live site to do same thing?

#1333359

It is not possible that this was done this way, as the notifications clearly hold Estonian and English.
The only change I made is the steps, it is a server problem if the same does not work there, or the copy was not matching exactly the site.

I can not log in on the staging site provided, it says Viga:: Kasutajanime ei leidu.
I tried with these details:
https://toolset.com/forums/topic/email-notifications-translation-does-not-apply/#post-1331105

Can you maybe submit new ones?

Check also the setting wpml > theme and plugins localization > Localization options > Other options
It says "Assume that the original language of all strings is English"
If that is checked, logically no matter the default language, or language in which you supposedly edit your strings, they always must be English, then translated to other languages.
This was/is set on your site, but the strings were not in English.
So that provoked the issue to start with.
You might be able to resolve the issue as well by simply unchecking that setting.

Additionally in the WPML > Support Troubleshooting I had run every single step and 2 (connection of translation) were actually returned as a positive.
I forgot to mention that. You could simply go thru the steps in WPML > Support Troubleshooting, to fix that too.

I'll reactivate a private reply.

#1341795

Thanks Beda for your commitment on solving this case!

If it is okay, keep this topic open for one more week, as i am away?
I really get a lot of useful, but as it looks more like Layouts related, i wish to have for everybody see later full overview "how to build right things with Toolset" .

#1341805

The Robot makes the "clean up" rounds, that is out of my hand, but I have set the ticket in state of "waiting for feedback", so it should not get closed without your feedback.