Skip Navigation

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

Problem:
The client moved their site to new hosting and encountered a notification issue after changing from a temporary domain back to the original domain. They were concerned about losing translation credits and the disappearance of product translations.

Solution:
1) We recommended increasing the memory limit for WPML by adding the following code to the

wp-config.php

file, right after the database information:

define ('WP_MEMORY_LIMIT', '256M');<br />define ('WP_MAX_MEMORY_LIMIT', '256M');

2) We identified that the issue might be due to the home URL being forced somewhere in the installation. We provided a guide to help resolve this: Using WPML on Two Domains.

3) After increasing the memory limit and addressing the home URL issue, we advised the client to open a page that previously had a translation to check if the translation still exists. If it does, they should send the pages for translation again, and they will appear as translated.

4) We suggested resending the translation jobs by following the guide: Sending Content for Automatic Translation. We recommended starting with one page and avoiding the option to translate it again if a message indicates that the page was already translated. Instead, choose to translate it manually, complete the translation, and then apply the same process to other pages.

If the solution provided here is not relevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket in our 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.

Tagged: 

This topic contains 13 replies, has 3 voices.

Last updated by Ilyes 1 year, 4 months ago.

Assisted by: Ilyes.

Author Posts
March 1, 2024 at 10:18 am #15362160

filipC-6

Hello,

we've moved a site lustylove.eu with WPML to new hosting.

So for a moment, it had the temporary domain, and now pointed the nameservers to new hosting so it reverts back to lustylove.eu.

However, we have this notification and don't know what to do.

We used a lot of translation credits so we don't want to mess it up.

Thanks in advance

Screenshot 2024-03-01 111620.png
March 1, 2024 at 10:20 am #15362179

filipC-6

Also, when the site was live on new hosting, we automatically translated over 3k products, and now they don't show as translated.

March 1, 2024 at 12:32 pm #15362916

Alejandro
WPML Supporter since 02/2018

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

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

Hello!

I'll help you get started while a supporter takes your case

1) WPML needs a minimum of 128MB of memory to work correctly and it seems you are not meeting this requirement.

Kindly add this code into your wp-config.php file, right after the database information:

 

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

2) That issue you're having is because somewhere in your installation you're forcing the home URL. you can read this section of the guide to understand how to easily fix that: https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/#using-wpml-on-two-domains

3) step 1 and 2 are done, try to open a page that used to have a translation, to see if it contains a translation and if it does, then all you have to do is sent the pages to translate and they will appear as translated.

March 1, 2024 at 1:40 pm #15363221

filipC-6

Hello,

thanks for the suggestions.

Now it doesn't show the notice.

However, the pages and products that we've translated with automatic translation are not translated now. Is there any way we could see was that translation charged, i.e. when was it last initiated?

It happened today, a couple of hours ago.

Thanks

March 1, 2024 at 2:21 pm #15363380

filipC-6

I've found today's report - hidden link

Those products were translated and now the translations are gone.

Can we get those credits back / or not be charged for translation that's gone?

We're going to translate products once again since we're in a hurry.

March 1, 2024 at 2:29 pm #15363436

filipC-6

Here's a video explanation:

hidden link

March 1, 2024 at 8:58 pm #15364959

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

The thing is that we do have the logs on every single translation job you made, here is a list of examples :

20 used credit hidden link 92155302 microsoft en_es 2024-03-01 09:54:56 UTC
1 used credit hidden link 92155303 microsoft en_it 2024-03-01 09:54:55 UTC
237 used credit hidden link 92155293 microsoft en_es 2024-03-01 09:54:54 UTC
7 used credit hidden link 92155286 microsoft en_it 2024-03-01 09:54:53 UTC
7 used credit hidden link 92155287 microsoft en_es 2024-03-01 09:54:53 UTC
237 used credit hidden link 92155292 microsoft en_it 2024-03-01 09:54:53 UTC
0 used credit hidden link 92154416 microsoft en_it 2024-03-01 09:49:25 UTC
0 used credit hidden link 92154417 microsoft en_es 2024-03-01 09:49:25 UTC
36 used credit hidden link 92152489 microsoft en_es 2024-03-01 09:40:26 UTC
36 used credit hidden link 92152488 microsoft en_it 2024-03-01 09:40:26 UTC

Between February 28 and today you used around 1794858 credits.

The good news is that these translations are actually backed up under our servers, here is an example : hidden link

Is it possible to share access to your admin? I could then redeliver all these translation to your site,

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

hidden link

Best,

March 4, 2024 at 1:10 pm #15369754

filipC-6

Hello,

is there any update on this?

March 4, 2024 at 6:27 pm #15371724

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

I'm sorry for the delay as by the time you sent a reply, the shift ended, and had to wait through the weekend to get back to you,

I'm sending a request to restore your translations, I will get back too you soon.

Best,

March 4, 2024 at 6:29 pm #15371725

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hey again,

I was about to log in to your site, however, the password you shared seems to be incorrect, could you please recheck the access you shared again,

Thanks!

March 5, 2024 at 8:54 am #15373097

filipC-6

Hello,

I've updated the login information in the original message.

March 5, 2024 at 11:08 am #15373976

Alejandro
WPML Supporter since 02/2018

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

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

Hello!

Please try to resend the jobs by following the guide to send a page to translate via WPML > Translation Management: https://wpml.org/documentation/translating-your-contents/#sending-content-for-automatic-translation

I'd suggest you first start with just one page

It's very likely you'll get a message saying that the page was already translated. do not select the option to "translate it again" but select the option to translate it yourself.

Once you have sent them, you can go to WPML > Translation and find the translation there. Edit it and make sure it appears as fully translated (if it appears "almost" translated it means new content was added after the last time it was translated). click the complete button and wait to see if that page was now translated.

If that happened, then you can do the same with the other pages. (i know it might be a bit tedious to do but it's a one-time operation).

Regards.

March 5, 2024 at 12:40 pm #15374520

filipC-6

Hello,

the thing is we have already translated over 7k products with automatic translation and everything was okay.

And one of the reasons we chose automatic translation is to save time.

Is there any other option to automatically translate the products again, without opening each translation individually and updating it? Otherwise, we would have to enter the translations of 4000 products x 2 languages and manually update them.

Also, we've got another issue. Seems like the translation is bugged. It's stuck at '1 translation left in the queue' and it's not moving. I'm attaching a screenshot.

Feel free to take a look inside of the WP.

Thanks in advance.

Screenshot 2024-03-05 133445.png
March 6, 2024 at 2:25 pm #15380021

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Yes, you do not have to open them individually to apply the translations again, here is a video I recorded to better explain what are the options : hidden link

If for any reason, an already translated product costed you credits to translate, we will be more than happy to refund you those credits,

Best,