Skip to content Skip to sidebar

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
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -
- 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 20:00 – 23:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 43 replies, has 2 voices.

Last updated by Kor 1 year, 5 months ago.

Assisted by: Kor.

Author Posts
October 15, 2024 at 3:48 pm

jan-nicolasV

Background of the issue:
I am trying to translate strings using 'Translate texts in admin screens' and 'Translating users of types'. The issue can be seen on this page: hidden link

Symptoms:
Strings that have been translated are getting truncated seemingly randomly after a certain time. When I edit one of the strings, everything reverts to normal, but they get truncated again after some time. I expected to see 'The Maggies Blog' (h1) and 'The best of the Magdalen Islands' (h2), but instead, I got 'the Magdalen Islands'.

Questions:
Why are the translated strings getting truncated after some time?
How can I prevent the strings from being truncated?

October 15, 2024 at 5:12 pm #16292119

Kor

Here is the ticket. Please let me know how it goes.

October 15, 2024 at 6:47 pm #16292353

jan-nicolasV

I pushed stage to prod but it didn't fix the problem. Could you try to fix it the same way on prod? Thanks and I'm back online now.

October 15, 2024 at 6:51 pm #16292359

jan-nicolasV

In fact, it is now broken again in stage :-/

October 15, 2024 at 6:53 pm #16292360

Kor

I've made some changes to your production site and could you please check? let me know if the issue comes back.

October 15, 2024 at 6:56 pm #16292365

jan-nicolasV

Ok it now works in production. But stage is now broken.

October 15, 2024 at 9:15 pm #16292661

jan-nicolasV

The production site broke again, after a while. No changes were made in the meantime.

October 16, 2024 at 7:53 am #16293838

Kor

Thanks for your reply.

My apologies for that. Could you please update your credentials here again? I'll recheck this for you.

October 16, 2024 at 3:27 pm #16296608

Kor

Thanks for your reply.

Your Website is running slow for me making it difficult to troubleshoot on your Website.

I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

October 16, 2024 at 5:43 pm #16297265

jan-nicolasV

The cache plugins where disabled which explains why it was running slow.

October 17, 2024 at 12:31 pm #16300145

jan-nicolasV

Have made some changes? Now the text is simply not translated (instead of being truncated).

October 17, 2024 at 2:08 pm #16300825

Kor

Thanks for your reply.

I'm still checking on this locally. Yeah, I deleted the string for Author Description as a test earlier and that removed the translations. I will come back to you as quickly as possible.

October 17, 2024 at 2:11 pm #16300826

jan-nicolasV

Ok because strange things are now happening. Translations that always worked before are now broken all over the site unless "Look for strings while pages are rendered". This is really problematic.

October 17, 2024 at 2:22 pm #16300934

Kor

Thanks for your reply. Could you restore the sites from backup while I check on this locally on my dev site?

October 17, 2024 at 2:23 pm #16300956

jan-nicolasV

I've created content since, so ideally no :-/

The topic ‘[Closed] Admin and user strings getting truncated’ is closed to new replies.