Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where string translations are not being saved in WPML, despite the interface indicating that the save was successful.
Solution:
1. Ensure that a full backup of the site is created before proceeding with any troubleshooting.
2. We suspected a database issue, so we requested access to the site to perform a detailed check.
3. After further investigation, it was determined that the issue might be related to server permissions for writing/editing files. We recommended enabling debug mode to identify any specific errors. Instructions for enabling debug mode can be found here: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/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 at WPML support forum for further assistance.

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.

Tagged: 

This topic contains 14 replies, has 2 voices.

Last updated by Carlos Rojas 1 year, 5 months ago.

Assisted by: Carlos Rojas.

Author Posts
November 4, 2024 at 9:17 am #16359378

tanelU

Background of the issue:
I am trying to add string translation on a site under development using WPML.

Symptoms:
String translation is not saving. It says it's saved, but after refresh, it is not showing that the string is saved.

Questions:

November 4, 2024 at 12:23 pm #16360933

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

I suspect that the cause of this behavior might be a problem in the database. Could you share the access credentials to the site in your next message? I have set your next message as private so you can share the credentials securely.

Please don't forget to create a full backup of the site before sharing the credentials.

Looking forward to your message 🙂

Regards,
Carlos

November 4, 2024 at 12:55 pm #16361099

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Thank you for sharing the credentials requested.

As I suspected, there is a problem in the database, please create a full backup of the site that you can restore if necessary. That way when I run the troubleshooting steps to fix the issue, you will have a copy if something goes wrong.

November 4, 2024 at 1:06 pm #16361140

tanelU

Yes, i have taken a full backup of database. You can go ahead and trouble shoot.

November 4, 2024 at 1:42 pm #16361312

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Done 🙂

Please double-check if the issue disappeared.

November 4, 2024 at 2:06 pm #16361461

tanelU

I can see that issue is still there. same as it is, not saving strings translation.

November 4, 2024 at 2:12 pm #16361501

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Thank you for your feedback.

In this case, I kindly ask you to share a string that we can use as a reference and the URL where it can be seen.

November 4, 2024 at 2:20 pm #16361518

tanelU

String "tellija"
hidden link

add this product hidden link to cart and
see on this page hidden link

Screenshot 2024-11-04 at 19.52.40.png
November 4, 2024 at 3:04 pm #16361775

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

The first step is to translate the pages into all languages. I can't change from LT to any other language because the translations don't exist 🙂

November 4, 2024 at 3:17 pm #16361833

tanelU

I have created all pages into all languages.

I do not think it is related with pages not into other languages.

It is happening like here hidden link when I add translation string, it says it is saved, but when i reload then its not there.

November 4, 2024 at 3:23 pm #16361851

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

I'll take a deeper look and try to get more information about this behavior. I will get back to you as soon as I have a result.

November 5, 2024 at 2:50 am #16363920

tanelU

please update me as soon as possible.

November 5, 2024 at 9:19 am #16364900

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Hi there,

After running some tests, I suspect that the cause of the issue is the permission for writing/editing files on the server. Could you activate the debug mode following the steps described in this guide: https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/ then reproduce the problem in String Translation and check if there is any error message in the debug.log file located within the wp-content folder with the today date?

November 5, 2024 at 1:35 pm #16366969

tanelU

Can we please make this post private? As there are urls in this post.
Or at least we can make all those messages as private where urls are there in message.

November 5, 2024 at 1:44 pm #16367025

Carlos Rojas
WPML Supporter since 03/2017

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

The URLs shared by you from your site are only visible to you and me 🙂
You can visit this URL in incognito mode to double-check it.