Home›Support›English Support›[Resolved] Translation issues with WPML on a WordPress site built with Elementor
[Resolved] Translation issues with WPML on a WordPress site built with Elementor
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with automatic translations on their WordPress site built with Elementor using WPML. Some elements like headers and footers were translated correctly, while others were not appearing as translated on certain pages, articles, and archives, despite being marked as 100% translated in the WPML dashboard.
Solution:
1. We recommended increasing the WordPress memory limit to at least 128MB, as WPML requires more memory than the default 40MB provided by WordPress.
2. We advised installing the Advanced Custom Fields (ACF) Multilingual plugin to ensure compatibility with WPML for ACF fields.
3. To trigger an update of the automatic translations, we provided steps to bulk edit and apply changes without making any actual changes to the content. We also clarified that due to translation memory, there should be no charges for using Automatic Translation for content that has already been translated.
4. For the specific issue with the 'Capacity' field not being translated, we instructed the client to set the correct template for the English version of the page in Elementor and to clear any server-side cache that might be preventing updates from showing.
If you're experiencing similar issues, we recommend trying the steps outlined above. However, please note that the solution might be irrelevant due to being outdated or not applicable to your case. We highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us.
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'm experiencing an issue with WPML on my WordPress site built with Elementor. I've installed WPML Multilingual CMS and WPML String Translation, opting for automatic translation for the following elements: header, footer, pages, articles, and archives.
However, I've noticed that not all elements are translated as expected. Some elements, like the header and footer, are correctly translated, but others are not or do not appear on certain pages, articles, and archives. Yet, when I check the translations in the WPML dashboard, the content is indicated as 100% translated.
Attached, you will find screenshots illustrating the differences between what is displayed on the site and what is indicated in the WPML dashboard.
Link to a page where the issue can be seen: hidden link
Thank you for contacting WPML Support, I will be happy to help you.
It might not be related to the issue, but according to your debug.info, the WP memory limit needs to be increased, WordPress uses 40Mb as default and the minimum requirements for WPML are 128 MB. (Kindly check this page: https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the line: /* That's all, stop editing! Happy publishing. */
Also, from the debug info I noticed that you are using MySQL v.5.5.5, I suggest you update to MySQL 5.6 or above. Alternatively, you can use MariaDB 10.1 or greater. As per WPML minimum request: https://wpml.org/home/minimum-requirements/
* Note: Please make sure you have a full backup of your website before making any update/changes on your website.
After, please check if the issue persists and let me know.
Thank you for your answer.
I just added the WP_MEMORY_LIMIT to my wp-config.php.
Regarding MySQL, I'm using MariDB 10.5.24 according to the Database tabs in Tools > Site Health.
See here: hidden link
In order to investigate this issue and understand it better, I would need a temporary access to your site's WP-admin, you can create an administrator account using any email address you prefer.
Please make a full backup of your site (files and database) and confirm it in your next reply.
Your next reply is set to private for you to provide the username and password details.
1) I was able to check your website and I noticed on WPML -> Translations, that some pages translation is "In progress".
2) Also, on WPML -> Translation Management, I noticed that there are no credits to use for Automatic translation.
3) I was able though to check that the parts you need translated show on WPML -> String Translation, where they can be translated (I searched for "Découvrir") .
Could you please check what mentioned above and let me know?
Hi Marsel,
Here are my answers to your points :
1 / I have now finished the "In progress" pages translation. There are now all marked as finished.
2 / My account is set up as Pay as you go. See here: hidden link
I don't see any issue with that?
3 / I'm not quite sure what you mean. But I will explain the issue again in this video, so that is clearer for you :
hidden link
I hope this video will help you to understand the issue.
We have the same issue with most of the pages and posts.
Example of the issue with a post: hidden link
Whereas all the translation are set here: hidden link
Can you please tell me how to fix this?
I'm curious to know where the issue is, because I might face the issue with other websites in the future.
The issue seems related to the WP MEMORY LIMIT being 40M when you translated the website's content.
I just did a test with this page: hidden link,
- I added a "+" sign to the page title, saved the page and then removed it again
- That triggered an update of the translation as well.
If you check: hidden link, the English version should be showing correctly translated now.
Try following the same steps I did on any other page that might have the same issue and let me know if you have any other problems.
* For the other websites I suggest you increase the WP MEMORY LIMIT before translating the page in order to avoid this issue.
Thank you!
I tried on the Contact page, and it worked!
But it doesn't seem to work on a post like this one: hidden link
I changed the french version, and saved it, but it has not translated the english version yet.
I also still have the issue with a CPT for the apartements.
If you check this apartment: hidden link
The enligsh version doesn't show the Equipments of the appartement. They are ACF field normally. I can see that they have been translated (when I click on Edit Translation, I can see the translations), but they don't show up.
I tried your advise to edit the french version and then save it to regenerate the english translation but it didn't do anything (like for the post).
Could you please help me with that?
Also, do you know if it's possible to delete and redo all the automatic translations than?
Because I have a lot of pages, so it would be easier to just redo all the translations.
Also, does that mean I'm going to be charged again for the translations?
I was able to check the page: hidden link, and just by updating the default language, without adding the "+" sign", the translation was updated as well. It should be showing correct now.
To trigger an automatic translation update you can follow the following steps:
- Go to Pages or Posts, Select all posts/pages by clicking on the checkbox beside "title"
- For Bulk Action, select Edit and apply.
- Update without making any changes.
As you have already translated the pages in ATE then due to the translation memory there should be no charges for you to use Automatic Translation.
However, if there are some segments or texts that were not yet translated they might incur some charges. I suggest you review the automatic translation documentation clearly before using it.
---
As for the CPT of the apartments, you would need the plugin Advanced Custom Fields (ACF) Multilingual installed as well for the ACF plugin to work with WPML.
You can install ACFML by following these steps:
- go to WP-Admin -> Plugins -> Add plugin -> Commercial tab
- check the checkbox next to "Advanced Custom Fields Multilingual"
- check the checkbox next to "Activate after download" at the bottom of the page
- click the "Download" button
For the first issue regarding Memory limit, it's still very unstable how to force automatic translation. I tried to do what you suggested with the Bulk action, but it didn't work. I did it manually and it worked most of the time the first time, but sometimes, I have to do it twice or three time 🙂
Anyway, let's say it's fixed for the Posts & Pages.
Now, I have 2 more issues (that are probably related to the Posts&Pages issue, and memory limit maybe?).
1 / For the CPT apartement, ACF Multilingual is already installed and set up as you can see in my back-office.
ATE has translated the content. cf : hidden link
But it doesn't show up here: hidden link (in the Equipment column)
I tried to update the french version to see if the english translation is automatically translated, but it doesn't do anything.
Maybe it's a setup in WPML or Elementor?
2 / On this page: hidden link
As you can see, the "Capacity" is not translated into english.
This is a Template created in Elemtentor theme builder (but it's basically a CPT).
You can find it here: hidden link
And as you can see here: hidden link
Capacity is well translated but doesn't show up on the english version of the website.
Thank you so much in advance for your kind response.
Regarding the issue #1 (Equipments on the CPT Apartements), I'm just realizing that the equipements list is a custom shortcode that we created.
cf : hidden link
Here is the PHP code we did:
// Shortcode : équipements single appartement
function fs_equipements() {
$html = "";
if ($equipements = get_field("equipements")) {
$html .= '<div class="fs_equipements">';
$html .= '<div class="column">';
$html .= '<ul class="fa-ul">';
// Calcul de la moitié du tableau
$half_count = ceil(count($equipements) / 2);
// Première colonne
foreach ($equipements as $index => $v) {
$html .= '
// Insérer la balise de fermeture de la première colonne et l'ouverture de la deuxième colonne
if ($index + 1 === $half_count) {
$html .= '</div><div class="column"><ul class="fa-ul">';
}
}
As for the WP Memory Limit, depending on the hosting company you are using it happens that it might take a bit of time till it is properly and fully done (sometimes it relies on the cache mechanisms used on different hosting companies).
---
I checked further on your website's dashboard and noticed that on WP-Admin -> ACF, you hadn't checked any translation option for the Field Group "Apartments". I would suggest you first check one of the options (depending on the usage of the CPT), and then check if the issue persists for the "Equipment" section.
* If this does not work, then we will try checking the PHP code you provided, but please note that custom coding is not covered by our Support Policy. I'll do my best and try to put you in the right direction about any changes that might be needed on the code.
Thank you so much!
The issue #1 with ACF is now fixed.
We still have one last issue on this page: hidden link
As you can see, the "Capacity" is not translated into english.
This is a Template created in Elemtentor theme builder (but it's basically a CPT).
You can find it here: hidden link
And as you can see here: hidden link
Capacity is well translated but doesn't show up on the english version of the website.
I tried to update the french version to force an update of the Automatic Translation, and I got this message:
Une erreur est survenue au cours de la traduction automatique. Veuillez contacter l’ assistance WPML et signaler que la traduction automatique suivante est bloquée : 93028510
I checked further and on WPML -> Translation Management, the "Field group" needed an update on the English version (which I did), but without success.
I checked this job ID: 93028510 and it seems that is translated correctly. I was also able to update the French version without any problems, but I still had no success in showing up the translation.
Would it be possible to clear any possible cache of the website (server-side included), as I notice that even the text on the button here doesn't translate?
* I did notice a notification related to the Elementor license and a new update for Elementor that is pending. Would it be possible to update and check the license?
* Note: Please make sure you have a full backup of your website before making any update/changes on your website.
Hi Marsel.
Thank you for your answer.
I just clear and disabled any cache system on the server, but I can't see the translation still.
I did a full update of the extensions also.
Thank you for your help!
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.