Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing issues after migrating translations from Loco Translate to WPML. Some Hebrew strings were incorrectly marked as English in WPML, and the client wishes to revert to the original Loco Translate settings and then restart the translation process manually, ensuring accuracy.
Solution:
First, ensure that your site meets the minimum requirements for running WPML by increasing the WP Memory limit to 256M. You can do this by adding the following code to your

wp-config.php

file:

define('WP_MEMORY_LIMIT', '256M');

Place it just before:

/* That's all, stop editing! Happy blogging. */

After updating the memory limit, verify the settings under WPML > Support > WordPress and attempt to save the translations again. Ensure that the strings in WPML > String Translation are assigned to the correct source language by following the instructions here: How to Change the Source Language of Strings.
If you decide to revert to LocoTranslate, disabling WPML should return your site to its previous state. However, using the WPML reset feature is only recommended if you plan to stop using WPML entirely.

If this solution does not resolve your issue or seems outdated, please check for related known issues at WPML Known Issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If further assistance is needed, we highly recommend opening a new support ticket at WPML Support Forum.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Andreas W. 7 months, 1 week ago.

Assisted by: Andreas W..

Author Posts
May 18, 2024 at 8:45 am #15641493

rayaA

Hello! I have a website that had translations of the theme and plugins into Hebrew with Loco Translate. I followed this article https://wpml.org/documentation/loco-translate-and-wpml-comparison/ to to migrate from Loco to WPML and on the way added more translations, and some were added automatically without me meaning to do so. Afterwards I noticed that some of the Hebrew strings were marked as English in WPML and now the results are not satisfying at all. I would like to revert the website to how it was before migrating to WPML, with all the original translations files from Loco, reset everything to how it was, and then start over. When starting over I do not want any automatic translations done whatsoever, I want to do it all manually.

How can I do that? Should I follow this article https://wpml.org/documentation/getting-started-guide/language-setup/deleting-languages-and-plugin-data-by-doing-a-wpml-reset-on-your-site/ ? Would I lose the original Loco translations? I want to keep the original Loco translations that were good and then redo the whole thing making sure that only the good translations are coming to WPML into the correct language (no Hebrew words under US flags and vice versa no English words under Hebrew flag).

Thank you!

May 18, 2024 at 12:50 pm #15641828

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Your translations might not work as expected because your site is not meeting the minimum requirements to run WPML.

Could you please increase your WP Memory limit to 256M? 128M is the minimum required by WPML.
Your current values are:

PHP Memory Limit 256M
WP Memory Limit 40M
Add this code to your wp-config.php to increase WP memory:

define('WP_MEMORY_LIMIT', '256M');

Paste it just before:

/ That's all, stop editing! Happy blogging. /

Now, verify the current settings at WPML > Support > WordPress. Then complete the translation again.

These settings can be limited directly by your hosting provider, so I recommend you contact and ask them to modify them directly.
If you can get even higher values It would be great.

https://wpml.org/home/minimum-requirements/
Note: WPML needs a minimum WP Memory limit of 128M to work only under a minimal environment, which means, with a default theme and no other plugins installed.

Now, please try to save the translations again.

Also, verify if the strings on WPML > String Translation are assigned to the correct source language:
https://wpml.org/documentation/getting-started-guide/string-translation/how-to-change-the-source-language-of-strings/

Also, take note, that if you disable WPML and enable LocoTranslate again, your site should be back to its earlier stage.

The WPML reset is only recommended if you are planning to not use WPML on the site again.

Let me know if further assistance is needed.

Best regards
Andreas