This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing two issues: firstly, the WPML plugin could not connect to wpml.org due to a site key mismatch, and secondly, there were problems with translating strings in emails and the site logo reverting to English when the String Translation plugin was enabled.
Solution: For the connection issue, we recommended the following steps: 1. Temporarily remove the website from the WPML account sites list. 2. Add the website again and copy the new generated key, ensuring the format matches the one in the wp-admin > settings > general. 3. Go to Plugins -> Add New -> Commercial, unregister WPML if the option is available, and then register WPML with the new key.
For the string translation and logo issue, we suggested: 1. Go to String Translation and search for
. 3. Enable the option 'Look for strings while pages are rendered'. 4. Visit the homepage to allow the string to return, then search for
site_logo
again and change its language to French.
For the email issue, we advised: 1. Edit the original email text, changing it from English to French and save it. 2. Go to WPML -> String Translation and search for the text domain:
. 3. Change the language of the strings from English to French. 4. Check if the string is translated into other languages and translate if necessary.
Additionally, for the email content issue, we: 1. Went to WooCommerce > Shipment Tracking > Order Statuses & Notifications and edited the email content. 2. Searched for the string in WPML -> String Translation and changed its language to French. 3. Added an English translation and updated all other translations.
If these solutions do not resolve the issues or if they seem outdated or irrelevant to your case, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket.
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.
Hello, I have the following error message: WPML plugin cannot connect to wpml.org
WPML needs to connect to its server to check for new releases and security updates. Something in the network or security settings is preventing this. Please allow outgoing communication to wpml.org to remove this notice.
wpml: Unable to register: Site key not matching subscription-fetching 2024-19-03 10:03:52
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
Thank you for your patience while we investigate this.
I'd like to ask permission to make a copy/staging version of your site where I can debug this closely without affecting the live site.
I'll make sure to delete this copy as soon as we get this issue fixed.
I'm afraid of debugging directly on the live site and cause issues to your visitors. Also, it is important to test a different setup as part of the troubleshooting.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
I apologize for the inconvenience.
I tried creating the staging site using our servers, I also wanted to test it on a different environment, however, the process took many hours and eventually failed due to the size of the site.
So I went ahead and created the staging following your instructions.
This is just a note to let you know that the work on the site continues, as soon as I have news I'll share them with you here.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
I checked it and the issue with the logo only happened when the String Translation plugin was enabled.
Upon further review, it seems like it was applying the logo ID of the string [theme_mods_flatsome-child]site_logo from the domain: admin_texts_theme_mods_flatsome-child.
I was able to stop the logo from being replaced by following this method:
- Go to the string translation and search for site_logo
- Select and delete the string [admin_texts_theme_mods_flatsome-child][theme_mods_flatsome-child]site_logo
- Enable the option at the bottom of the screen 'Look for strings while pages are rendered'
- Visit the home page
- The string will return, search for site_logo and change its language to French
Test the customizer, in my tests it stopped reverting to the English one.
Regarding the email issue, I can see that the default language is English, I believe this could be causing some issues since the main language of the site is different and English is no longer a valid language.
Please try the following procedure to fix it:
- Please edit the original email text, change it from English to French and save it.
- Go to WPML -> String Translation and search for the text domain: admin_texts_woocommerce_customer_completed_order_settings
- Change the language of the strings from English to French
- Check if the string is translated into the other languages and translate it if necessary
- Test the email sending again, it should be correct
Thank you, please give it a try and let us know the results.
Mateus
Hello,
A° Logo strings problems fixed: awesome, thanks a lot !
--------------
B° Email strings:
1° So basically, I identified the problem on "shipped order email", in the body. However, I could not edit the folowing email body strings: "Your order is in transit. Track your package to find out more about the delivery status. a"
I do not think it's possible to edit it ?
However, I was able to do it for other non faulty parts of the email, such as the subject.
2° If you want to try yourself, the order #24109 is a test order I sent to my own email edouardruol02@gmail.com ; you can change the mail and set yours. Also, WP Mail logging is enabled on the site.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
In the staging site, I went to WooCommerce > Shipment Tracking > Order Statuses & Notifications > and clicked on the gear at the right of the screen. It is also accessible at: the URL /wp-admin/admin.php?page=ast_customizer&preview=completed
I used this text for the 'Contenu de l'e-mail', it was already there but I added a space at the end and saved it:
Votre commande est en transit. Suivez votre colis pour en savoir plus sur le statut de la livraison.
Then I went to the WPML -> String Translation and searched for 'Votre commande est en transit'.
I found one string admin_texts_woocommerce_customer_completed_order_settings [woocommerce_customer_completed_order_settings]wcast_completed_email_content, I selected it and changed its language to French.
Then I added an English translation:
'Your order is in transit. Track your package to find out more about the delivery status.'
And updated all other translations, just re-saved them as they were.
Now when I test it, it seems to be working on my end, please check the screenshot.
Can you please test it to see if it is working for you as well?