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 – 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 1 month, 2 weeks ago.

Assisted by: Ilyes.

Author Posts
August 11, 2024 at 2:04 pm #16059474

nicolasF-24

One other question I have, as soon as I translate jobs, the language of back office change randomly, it's really annoying, do you know why ?

You can make a test by translating 10 or 20 jobs (you can force again already translated post), you will see that the language on the top change alone ...

August 11, 2024 at 2:06 pm #16059477

Mateus Getulio
Supporter

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

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

Hello Nicolas,

I checked this out but so far I couldn't find a fix for it.

I will ask my colleagues to have a look at this issue in order to see if there's anything I'm missing.

However, I'd like to attach your screencast in order to demonstrate the issue to them.

I tried opening it again but it looks like it is no longer available.

Do you still have a copy of it? Would you be able to upload it again, if you need to use a different video sharing system you can also use loom.com.

Thank you for your comprehension and help with this.

Mateus

August 13, 2024 at 9:37 am #16065455

nicolasF-24

Hi Mateus

No unfortunately I don’t have it anymore

Maybe you can reproduce the problem by making translations on the production website ?

August 13, 2024 at 1:44 pm #16066709

Mateus Getulio
Supporter

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

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

Hey there,

I checked this out but so far I couldn't find a fix for it.

I asked my colleagues to have a look at this issue in order to see if there's anything I'm missing.

I'll come back here as soon as one of my colleagues reply back to me (which it shouldn't take long).

Thanks,

August 15, 2024 at 5:27 pm #16075637

Mateus Getulio
Supporter

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

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

Hi,

I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution.

I will get back to you as soon as I get an answer from them.

Best regards,
Mateus

August 18, 2024 at 9:53 pm #16081861

nicolasF-24

Great !
I'm waiting for your feedback 😉

August 19, 2024 at 12:55 pm #16083569

Mateus Getulio
Supporter

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

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

Hi Nicolas,

Our 2nd tier team took a look at this issue and we need to perform a few more tests.

Firstly, I wanted to let you know that we’ve returned the credits used during our tests. Could you please confirm that everything is okay on your end regarding the credits?

Also, it would be helpful if you could clear the pending jobs in the queue and confirm the pending reviews. You can use the bulk option in WPML > Translations to speed up the process.

Lastly, if possible, please try to narrow down the issue to a specific post type (like pages, for example) or a specific range of post IDs.

Thank you for your cooperation.

Best regards,
Mateus

August 21, 2024 at 1:03 pm #16090535

nicolasF-24

Hi,

Yes it's okay for the credits !

For the jobs i don't see pending jobs ... and it's also okay for the reviews

Regarding the problem, as you faced on your side too, it happens to all products or pages, whatever, just select like 20 products or page to translate, and the language of wordpress wpm will change

August 22, 2024 at 9:20 pm #16096759

Mateus Getulio
Supporter

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

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

Hello,

We’ve created a copy of your site on our servers and enabled a fake/testing translation engine, allowing us to debug the issue without incurring any additional costs for translation credits:

hidden link

You can access this staging site using the same credentials as your live site.

The fake engine simulates automatic translation by appending the language code to each sentence. This method is sufficient for our debugging purposes, as it allows us to focus on the language-switching issue without involving the API that would normally generate costs.

However, we’ve encountered significant performance issues on our servers, even after increasing resources and disabling several plugins. Due to these limitations, we haven’t yet been able to reproduce the issue reliably in this staging environment.

To proceed more effectively, could you provide access to a staging environment on your servers where we can enable the fake engine and continue our debugging process?

I’ve enabled private fields in this thread for you to share the connection details securely.

Thank you for your cooperation, and please let me know how you would like to proceed.

Best regards,
Mateus

August 26, 2024 at 2:57 pm #16105321

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 and for the back and forth with the case.

Thank you for creating/sharing that dev environment with us.

Although I'm facing a little issue, I need to add some config to the wp-config.php file in order to force the dev site to use the fake engine rather than actual credits. But I'm getting a wrong user/password using that FTP data and installing plugins is not working, probably it was disabled, so I can install a file manager plugin for example.

Can you please review it? Either sending new FTP details or enabling the plugin installing should work for us.

Thank you.

August 29, 2024 at 12:46 pm #16120025

Mateus Getulio
Supporter

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

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

Hello Nicolas,

We're currently working on setting up a fake translation engine on the staging site to continue debugging without using real credits. However, we've encountered some issues that are preventing us from enabling it, and we're seeking internal assistance to resolve this.

Additionally, when we attempted to update all plugins on the staging site, we encountered an error, which might be due to a permission issue, lack of disk space, or another block. Could you please try updating all plugins from your end? If you face any issues, it would be helpful to check the permissions of the wp-content directory and ensure there’s enough storage space available.

Thank you for your cooperation.

Best regards,
Mateus

August 29, 2024 at 12:57 pm #16120078

nicolasF-24

Hi,
I updated the plugins I can,
The others I can't because it's premium version, and no licence on the dev, but it's not the source of the problem 😉

August 30, 2024 at 2:04 pm #16125193

Mateus Getulio
Supporter

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

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

Hello there,

Our team identified that the PHP function eval() is disabled in the dev site: hidden link

It is a minimum requirement and our team believe it could be affecting with our ability to enable the fake engines: https://wpml.org/home/minimum-requirements/#eval-usage

Please enable it and let us know.

In addition to that, our 2nd tier team confirmed they debugged a similar issue in the past which was being caused by a server side cache. I checked it and you have redis enabled.

Kindly disable every cache available in the dev site and try to reproduce the issue again to confirm it is no longer happening. The current license is not linked to your account and has 12k credits for the tests.

If necessary, you can link the site back to your account with the follow procedure and we'll give any credits used in the tests back:

- Temporarily remove your dev website here: (https://wpml.org/account/sites/).
- Add the dev website again and copy the new generated key, when adding it make sure that you use the exact same format as available inside the wp-admin > settings > general, eg.: http or https | www or non-www
- Now go to Plugins -> Add New -> Commercial
- Click on Unregister WPML
- Click on Register WPML and enter the new key you just created

Thank you, please let us know.
Mateus

August 30, 2024 at 2:11 pm #16125215

nicolasF-24

Hi,
Thanks for your feedback
I will ask our admin server to check for PHP eval
For redis we don't use it, we have the plugin yes but the cache is disabled (you can check the wp config file) so not the cause unfortunately ...
Yes for the dev we don't have any place to add a new one so I can't do that :/

August 30, 2024 at 2:18 pm #16125250

nicolasF-24

It's okay, eval is enabled 😉

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