Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 13:00 – 15:00 -

Supporter timezone: Europe/Madrid (GMT+02:00)

This topic contains 32 replies, has 3 voices.

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

Assisted by: Carlos Rojas.

Author Posts
August 14, 2023 at 4:11 pm #14198883

mohammadA-85

Hi,

One of the strings was translated with no issues. But, I noticed yesterday it's no longer the case! I'm not sure what happens. In the past few days, I only updated WPML to the latest version. I also changed one of the settings temporarily but put back to the default value the same day. Other than that, there were no modifications at all in relation to WPML.

The string value affected is " Your [%s] has been approved!" it is used as a Notification message for my WordPress theme app, if you check now, it's translated to Arabic on the backend. However, when sent as a notification, I receive the English version only. The title of the notification "Congratulations!" is also facing the same problem. Both strings (title + text) are received in the English version while my app and website are in Arabic by default.

However, another string "You have a new Message." is also used as a notification in the mobile app, but it's working fine. I receive that in Arabic without any issues.

I checked the troubleshooting guide, I tried these two:
-Clear the Cache in WPML
-Remove ghost entries from the translation tables

But they did not fix the problem, so I stopped to avoid causing any issues.

Links for the strings with the issue:

hidden link

hidden link

Link for the same type of string but working fine:
hidden link.

Please investigate further what could be the issue here. These strings used to come in Arabic, it's strange they only come in English now.

Thanks,
Mo

string-working.png
string-issue.png
August 15, 2023 at 3:02 pm #14204031

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks for your contact.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

As a quick test, could you please try the workaround described in this errata page? https://wpml.org/errata/in-some-cases-some-strings-are-not-translating-properly/. Also make sure to clear any existing cache (browser, website, server...).

Looking forward to your reply. Thank you.

Kind regards,
Mateus.

August 15, 2023 at 5:12 pm #14204567

mohammadA-85

Hi Mateus,

I followed the steps in the article on Incognito mode on my browser. But this didn't work. I cleared WPML cache before and made sure my server and website cache is also clear.

Thanks

August 16, 2023 at 11:10 am #14208807

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hello,
My name is Carlos and I will continue working on this ticket

1.- Please increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

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

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

2.- If the issue persists after increasing the WordPress memory limit, then I kindly ask you to double-check if other strings, identical to these ones, appear within the admin texts. If this is the case, then translate them by following the steps described in this guide: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ and double-check if the issue disappeared/

Regards!

August 16, 2023 at 7:19 pm #14241015

mohammadA-85

Hi Carlos,

I increased the memory size, and tried all the steps in the article (except the multi-server one since I'm running this on one server). However, nothing worked for me.

I tried deleting strings and rescanning them many times during the troubleshooting but this hasn't helped.

I confirm that no identical strings were found in the Admin screens.

Let me know what else we can do.

Thanks

August 17, 2023 at 8:17 am #14243595

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi there,
Thank you very much for your message

1.- Please describe step-by-step how to see/edit the string on the site

2.- I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back-up the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Looking forward to your message.

August 17, 2023 at 9:19 am #14244249

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Mo,
Thank you for sharing the information requested

Could you describe the steps to see the untranslated strings on the frontend?

August 17, 2023 at 9:42 am #14244499

mohammadA-85

Hi Carlos,

Since it's for mobile app notification, the only way is to download the app and use this login credentials:

username: support
password: testokaz

Once downloaded the app and enabled notifications, you can change this post from 'pending' to 'posted' where the notification string triggers and sent to the app. This short video of how to trigger it:
hidden link

This is APK file on Android:
hidden link

I'm testing in iOS but should be the same for Android since it's a server issue. I can also send you access by email for the iOS test version if it's easier to test there.

It's not so straightforward but the only way to see it.

Thanks,
Mo

August 17, 2023 at 11:27 am #14245477

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Mo,

I installed the APK and I was able to reproduce the issue, but in order to isolate the cause I need you to try and show the message on the site. Or let me know how are you getting these strings from the site. That way I will have more information to work on.

Regards!

August 17, 2023 at 3:08 pm #14247275

mohammadA-85

Hi Carlos,

I have contacted Classima team as they are the one who designed this connection between website and app. So, I will have to wait for their reply first, maybe they could find the cause or let you have what you requested.

Thanks

August 18, 2023 at 6:40 am #14249883

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Mo,

Great! I will be waiting for your message.

August 21, 2023 at 3:19 pm #14265583

mohammadA-85

Hi Carlos,

I'm still waiting for Classima's team feedback.

Not sure if this can help meanwhile, but I suspect the issue might've been triggered by this setting that used to have 'lock' symbol before I temporarily change it:

hidden link

While I changed it back to the default option, and even checked the site on an old backup before I change and 'unlock' the setting. I still got the same issue. However, I noticed that WPML store some changes in its servers, that's why an old backup might not help.

Just letting you know about this in case it can help you trace something.

Thanks

August 22, 2023 at 7:37 am #14268543

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Mo,
Thank you for your message

If this configuration stays the same as it was when it was locked, then there is no change. I added the 'translation' of the slugs for that CPT so I kindly ask you to double-check just in case the issue is solved.

Regards

August 22, 2023 at 10:00 am #14269825

mohammadA-85

Hi Carlos,

Thanks for checking this setting. Unfortunately, the slug translation didn't help. Please revert the slug setting to its default state just in case.

Seems like the issue is with the Classima plugin, I'm waiting for their reply. Please keep this ticket open till we have an update from Classima team.

Thanks

August 22, 2023 at 10:10 am #14269847

Carlos Rojas
WPML Supporter since 03/2017

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

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

Hi Mo,

The slug translation is necessary to avoid issues in the future. I advise you to leave it as its right now 🙂

The topic ‘[Closed] Translation suddenly not working for one of the strings’ is closed to new replies.