 Yves Vandeuren
|
I just did a test on the sandbox site.
I used the default "Contact Me" form which was already created.
I translated it in FR using the Translation Management.
I added the form on a test page (pasting the shortcode) :
hidden link
Created a duplicate version in FR :
hidden link
I submitted the form on both the EN and FR version of the page.
Here are the results :
- The form is correctly translated (fields / button)
- Success message is displayed in FR in both cases after submission
- Both email actions that are set up on the form, are sent translated in FR
I didn't receive the emails but we can check in the logs :
hidden link
So yeah there are issues even on this sandbox environment.
Success message and email actions are always translated in FR, even when submitting on the EN page.
FYI I installed Classic Editor to make the page, as I'm always using it instead of Gutenberg.
I also did a test by disabling it, just to be sure... same result.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Thank you very much for reproducing the issue on the sandbox site.
After trying a few times, I was able to reproduce the issue, but it doesn't happen all the time. For this reason, I have escalated this ticket to our 2nd tier of support, where our specialists will take a deeper look into this issue.
I will get back to you as soon as I have more information.
|
 Yves Vandeuren
|
Hello Carlos,
Any news about our issue ?
Thanks.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi,
No news yet. I was able to reproduce the issue intermittently on the sandbox site, and our 2nd-tier specialists are trying to reproduce it so they can investigate the cause of the behavior.
|
 Yves Vandeuren
|
Hello Carlos,
Still no news ?
Sorry to insist but we'll surely need to push this staging to live very soon and we need to know wether we should wait for a fix for this issue, or if we should instead duplicate the forms for each language and use them without any translation system.
The latter is obviously not the most practical solution, but at least it will work.
Thanks in advance.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi,
I will consult with my second-tier colleagues and get back to you as soon as I receive an answer.
Thank you very much for your patience and understanding!
|
 Yves Vandeuren
|
Hi Carlos,
Any news from 2nd tier ?
Thanks.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi,
Yes, we have been trying to reproduce the issue in the sandbox site, but we haven't been able to.
Our 2nd-tier specialists added a tag in the forms to get the URL, so we don't depend on human input to check if the emails were sent in the correct language.
Please fill the form in both languages as many times as needed (hidden link and hidden link) and check if the issue appears again.
|
 Yves Vandeuren
|
Hello Carlos,
I've been able to reproduce the issue, again.
For an easier check, I added the referer tag directly in the subject of the email.
I've done 6 tests in total :
- 1 form submission on EN page while being logged as admin
- 1 form submission on FR page while being logged as admin
- 1 form submission on EN page in private browsing, not logged in
- 1 form submission on FR page in private browsing, not logged in
- 1 form submission on EN page in private browsing, not logged in, and made sure not a single Chrome extension was active
- 1 form submission on FR page in private browsing, not logged in, and made sure not a single Chrome extension was active
As you can see in the logs, all emails of all 6 tests have been sent in EN only, even when it was on the FR page :
hidden link
Note that, as I added the referer in the subject, I made sure to go update the translation of the form in the Translation Management screen.
I basically changed nothing as it was already 100% completed (I just clicked the complete button to save and leave), but who knows if that can help you identify the issue.
I quickly went through the tests done by your colleague Nico, and they look fine... so I don't know what's different between his tests and mine, and why I always have the issue and he seems to never do.
Also, I don't get why you say this :
"we have been trying to reproduce the issue in the sandbox site, but we haven't been able to"...
While you said on June 18th, this :
"After trying a few times, I was able to reproduce the issue"
and on your next message on June 20th :
"I was able to reproduce the issue intermittently on the sandbox site"
Anyway, please come back quickly to me with a solution or an explanation on why it's bugging out.
It's been almost a month since I opened this ticket and we really can't continue dragging it out that long.
Thanks in advance.
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Thank you very much for sharing your findings.
I have updated our compatibility specialists with your latest message, so they can continue investigating this problem.
I will keep you updated 🙂
|
 Carlos Rojas
WPML Supporter since 03/2017
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/Madrid (GMT+02:00)
|
Hi,
Our compatibility specialists double-checked the sandbox site again and found that the strings weren't translated, and after translating them, the issue disappeared. You can see the translated strings in this link: hidden link
|