Skip to content Skip to sidebar

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

Problem:
The client has some issues importing XLIFF files in his system. Some of them were not properly formed.

Solution:
After downloading the XLIFF file to inspect them I noticed that some translations '' were missing. This website had a low PHP memory allocation (40M) and that's why translations were not completed.
- Go to "WPML > Support > WordPress (table) and check the WP_MEMORY_LIMIT (if it's inferiror to 128M the number will be in red).
- Access your server via FTP and open wp-config.php (in your Wordpress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

/* Memory Limit */
define( 'WP_MEMORY_LIMIT', '256M' );

- Send the page back to translation to complete it.

Relevant Documentation:
https://wpml.org/home/minimum-requirements/

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 12 replies, has 2 voices.

Last updated by Nicolas V. 1 year, 10 months ago.

Assisted by: Nicolas V..

Author Posts
September 5, 2023 at 9:24 am #14342157
September 5, 2023 at 9:25 am #14342187

AxelR-7

Can you please send a copy to the comunications to: clients@metzger-translations.com ?
Thank's in advance

September 5, 2023 at 9:31 am #14342225

AxelR-7

source file

b.png
a.png
September 5, 2023 at 9:32 am #14342279

AxelR-7

translated file

02.png
01.png
September 5, 2023 at 9:36 am #14342343

AxelR-7

our PHP is properly configured

05.png
September 5, 2023 at 1:48 pm #14345067

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hi,

Welcome to the WPML support forum. Thanks for contacting us.

We are currently experiencing some technical issues. This error has been reported to our system team and they are already working on it. Can I kindly ask you to wait for a moment and try again later.

Nico

September 5, 2023 at 3:03 pm #14345753

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

This incident is resolved now. You should be able to download all our plugins directly from your WPML account.
- Go to https://wpml.org/account/downloads/
- Click on "Download WPML manually" to see all plugins and download them
- In your WP dashboard, go to "Plugins > Add new" and use the button at the top of your screen to upload the .zip file

September 7, 2023 at 6:53 am #14356275

AxelR-7

good morning and thank you for your help,

We have followed the steps indicated by you, but the system continues to give us the same error, please give us an "urgent" solution,

thank you in advance

September 7, 2023 at 9:55 am #14358057

AxelR-7

please give us an "urgent" solution

September 7, 2023 at 3:13 pm #14361059

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hello,

I can see that a <target> is empty.

Could you please provide me with a temporary admin access (wp-admin and FTP) – preferably to a test site where the issue has been replicated – so I can further investigate. I will activate a private field for your next answer where you can provide that information safely (this field is only visible by you and the support team). Don't share your own admin account, create a new one that you will delete when we finish troubleshooting.

IMPORTANT: Before we proceed, please backup your site and database.

Also, please attach the XFILL files so I can test it myself (using a Gdrive or Wetransfer link).

September 10, 2023 at 12:36 pm #14371289

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hello,

As I suspected, some <target> tags are empty.
I downloaded a new job from the same page (Comexi F2 Evolution) and compare it to the file you sent me (job 544).

Some translations are correctly formatted with a source (original text) and a target (translation):

<source><![CDATA[Download catalogue]]></source>
<target><![CDATA[Descargar el catálogo]]></target>

But some are missing the target:

<source><![CDATA[<p>Print with the highest quality and at 600 m/min at the touch of a button. If you are looking for 10 colors and better choice for extended color gamut, and optimize energy costs, the F2 Evolution is the flexo printer for you. A new generation of flexo printers that offer greater efficiency and print quality and greater ease of use.</p>]]></source>
<target></target>

It seems that the translation is not 100% completed. I'm not sure if it's a human mistake or an issue from your configuration as I've noticed you have a very low PHP memory allocation (40M) that can impact your translations.

The minimum requirement for WPML is 128M but we recommend 256M:
- Access your server via FTP and open wp-config.php (in your WordPress root directory).
- Insert those lines just before /* That's all, stop editing! Happy blogging. */

/* Memory Limit */
define( 'WP_MEMORY_LIMIT', '256M' );

More info: https://wpml.org/home/minimum-requirements/

Then resend the page for translation (create a new job) to your translator and ask him if he can see more segments to translate. Ask him to complete the entire translation, then try to upload the new translation and let me know how it goes.

September 12, 2023 at 11:55 am #14383313

AxelR-7

Hi, it's ok now it works fine, thanks for your help and support

September 13, 2023 at 4:41 pm #14391731

Nicolas V.
Supporter

Languages: English (English ) French (Français )

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

Hi Axel,

I'm glad we find a solution! Please feel free to contact us anytime you have questions, we will be happy to help.

Have a good day.