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.

No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

Supporter timezone: Pacific/Easter (GMT-05:00)

Tagged: 

This topic contains 57 replies, has 4 voices.

Last updated by Ilyes 4 weeks ago.

Assisted by: Ilyes.

Author Posts
September 2, 2024 at 7:55 pm #16133467

Mateus Getulio
Supporter

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

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

Hello Nicolas,

I apologize for the delay caused due to the weekend.

Upon enabling eval() and after disabling caching in the staging site(I assume that the live site has some caching layer(s) enabled?) we couldn't replicate the issue in the staging anymore.

Our 2nd tier team recommended disabling, at least temporarily, all caching in the live site, making sure eval() is enabled in there as well and then repeating the test to confirm if the issue is no longer happening. We'll make sure to assign back any credits used in this test.

Thank you, please let us know.

September 4, 2024 at 2:51 pm #16141317

nicolasF-24

Hi Mateus,

Thanks for your feedback

I tried on my side on the dev but I don't understand, the posts are not translates, it's stuck to 0 as you can see on screenshot

Other question (maybe you can open another thread for that), how can I remove pending works, because it's only stock adjustments by API, and I don't want to lost my credit to translate them again whereas the content didn't change
I don't want to keep them because it will become quickly a mess ^^

Thanks

Capture d’écran 2024-09-04 à 15.26.07.png
September 5, 2024 at 12:01 pm #16144871

Mateus Getulio
Supporter

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

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

Hello Nicolas,

I believe this issue is happening on the dev site because I registered it within my account to try to enable the fake engine.

Please try the following procedure in the dev site to see if it gets this specific issue fixed:

- Go to https://wpml.org/account/sites and copy the license of the dev site
- Now go to Plugins -> Add New -> Commercial
- Click on Unregister WPML if you see it there
- Click on Register WPML and enter the new key you just created

Also, I went ahead and cancelled ao jobs in the dev site.

In addition to that I got a follow up from the 2nd tier support team.

We've noticed some potential inconsistencies in the database that might be affecting your site. It appears that while DeepL is set as the default translation engine and supports all language pairs, there is a custom language with the code "pt" and the default locale "pt_PTT" that does not yet have many translated strings. We also found strings such as "Cette publication est également disponible en : %s," which are currently assigned to English as the source language, and others mistakenly assigned to Albanian. This can happen if an original language, like Portuguese, was removed from the site at some point.

To address these issues, we've mapped the custom language "pt" to Portuguese (Portugal) (pt-PT) and ensured all necessary .mo files have been created. Additionally, we performed a cleanup of over 1,000 unused or incorrectly translated strings, but some issues still remain.

To investigate further, we would like to install a plugin like "Adminer" on your live site. This would allow us to examine the string tables closely and remove or reassign strings that are linked to a source language not used on your site. We also ask for your permission to send untranslated content, such as products, for automatic translation using your credits. This could help us understand the problem better, but we are cautious about using too many credits without clear results.

If you prefer us not to test directly on the live site, it would be helpful if you could confirm whether the issue persists after disabling all caching systems and, if so, our team asked if you could provide a new video showing the exact steps where the problem occurs, while I shared a video on my end, they wanted one from our perspective. This will help us diagnose and resolve the issue more effectively.

Please let us know how you would like to proceed.

September 5, 2024 at 1:03 pm #16145147

nicolasF-24

Hi Mateus,

Many thanks for your feedback

For the Dev, okay I will try that !

For the PT language, thanks for the mapping, do you have also a solution to have the flag ? I don't see the modifications on my side (please see the screenshots). You can off course do the good mapping for that. You can do that on the live website Gladiatorfit.ch (we face the same problem on the other website GladiatorFit.fr)

No problem for installing the plugin on the live website if it helps you. Regarding the credits, I don't understand why it should have new translations to make for products already translated ?

To face the problem, you can translate the public untranslated post / products of GladiatorFit.ch, you select all of them --> Automatic Translation. Then the job start, and here as soon as the translation start, you can refresh the page, every one or two minutes, you will see that the language change alone

Thanks !

Capture d’écran 2024-09-05 à 14.59.48.png
Capture d’écran 2024-09-05 à 14.59.54.png
September 5, 2024 at 6:04 pm #16146365

Mateus Getulio
Supporter

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

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

I'm checking about the issue with the flag, I'll keep you posted.

Regarding the untranslated content, if we can use content that still needs to be translated we could test it without spending credits in items that have already been translated.

If it is OK for me to create a few tests pages in the live site with the status of draft to use in the tests. I'd create them with very few words and temporarily use a cheap engine, so it'd cost almost no credits at all for our tests and I could easily give the credits back.

September 5, 2024 at 6:53 pm #16146493

nicolasF-24

No problem so you can do like that 😉

September 6, 2024 at 4:47 pm #16149853

Mateus Getulio
Supporter

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

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

Hello Nicolas,

I proceeded with the test I talked about, I tried recording a video with the replication steps to share with my colleague but it seems like I can no longer reproduce it.

Please check the video(please ignore the audio description as I was trying to show the replication steps to my colleague):

hidden link

I made sure to revert my changes during the tests.

September 8, 2024 at 11:24 am #16152507

nicolasF-24

Hi Mateus,

Thanks for your feedback,

So it seems that it happens only for products, because please see the video, I still have the problem when I translate products
Sorry for the time of the video, I recorded everything
hidden link

Thanks !

September 9, 2024 at 11:28 am #16155784

Mateus Getulio
Supporter

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

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

Hi Nicolas,

Thank you for sharing the new video, I'm following up with 2nd tier to check what are our next steps.

I'll keep you posted.

September 9, 2024 at 3:56 pm #16157583

Mateus Getulio
Supporter

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

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

Hi Nicolas,

Our team checked it and they found out that the reason the automatic translation wasn't working on the dev site as due to an issue with the Woodmart theme.

Upon switching to Twenty Twenty Four and disabling all non WPML plugins we've been able to use the automatic translation in the development site as well.

Also, the ticket's original issue didn't happen in the development site while using a default theme and minimal environment, we sent several products for translation in bulk and the backend language never changed.

We suspect the main issue could be caused due a conflict, but to confirm it we need to test it with the Woodmart theme on.

We'd like to kindly ask you to update the Woodmart parent theme in the dev site and all the plugins that have updates available for us to continue with our investigation. After that, if you could also confirm that the issue is reproductible in the dev site with the Woodmart theme and all plugins enabled.

Thank you, please let us know.
Mateus

September 9, 2024 at 5:38 pm #16158245

nicolasF-24

Hi,
Thanks for feedback !
I wanted to try but there is not enough credit on the dev, how can I do to test the automatic translation ?
Thanks !

September 10, 2024 at 5:40 pm #16163100

nicolasF-24

Any help ?
Thanks 🙂

September 10, 2024 at 6:41 pm #16163188

Mateus Getulio
Supporter

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

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

This is a quick update to let you know I've informed the 2nd tier team about the updates and asked for help regarding the credits usage.

I'll keep you posted.

September 13, 2024 at 9:21 pm #16177800

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

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

Hello,

This is Andreas from the Second Tier Support Team and I would like to apologize for the delay in handling your issue.

I have been trying various times to create a localhost copy of your website but the migration failed at any approach.

For now, I will try once more to enable a fake translation engine on your dev site, so that we can test without using credits. Until now for a unknown reason this fake translation engine did not appear to work on your dev site, but I will continue working on that today.

The issue on your site might be related to a third plugin or other code that is running on your site.

What we need to do here:

Running the site with minimal setup to see if the problem persists:

1) Disable any additional plugins unrelated to WPML and our add-ons. Now test again.

2) If the issue still persists, switch to a default theme like Twenty Twenty-One to see if the issue might be related to the theme.

3) If this still does not clarify what is causing the issue, start reactivating the plugins one by one or activate them in small groups.

Now, test again each time you enable a new plugin or group of plugins. Do this to check where the problem is reoccurring to see which plugin is causing the problem.

Once we have been able to identify the cause, we can then attempt to replicate the problem on a test site with WPML which we will provide and then take further steps.

If you can support us with running those tests, we would be really thankful.

Best regards
Andreas

September 14, 2024 at 7:19 am #16178346

nicolasF-24

Hi,

Many thanks for your feedback !

Okay, for the dev you can do what you want, so don't hesitate to disable all plugins and Woodmart if you think it's the cause of the problem

Should I do this on my side ?

If you can firstly find the environment that make it working (by disabling plugins or templates) it would be great 🙂 After I will re-enable plugin one by one to see which one causes this problem

Tell me if we can process like that 😉

The topic ‘[Closed] Language of back office change randomly after sending multiple items for automatic translation’ is closed to new replies.