Hello
Automatic translation doesn't work when I run the import via crontab.
If I run the import through the admin panel or wp-cli - everything works.
But my site needs to be launched via crontab on a schedule
In another ticket, I had a similar issue with removing translations after import via crontab
In that case, there was a problem with the hook constraint.
I think this problem might be related to this.
Hi,
If I wrote my own import code, it would probably work for me. BUT I use the WPAllImport plugin (maybe I should have mentioned this) in conjunction with the WPML WPAllImport plugin. And I should have it working by default as it works when imported via admin panel and works when imported via wp-cli but doesn't work via crontab. hidden link
I recorded a video in which I show the problem in detail and clearly.
In the video you can see how I try to use CRON to import products, after which WPML does NOT create product translations.
After that, I try to do the same with the import through the admin panel and it works.
After that, I delete the products again and run the import via CRON.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
The suggestion I got from 2nd tier: "Try to hit the CRON URL from same browser when you are logged-in as admin or translation manager, as it is possible that Translate everything triggers the jobs when the user is present so not working on CRON jobs."
Can you try this and let us know about the results, as this will help us go further with this?
Hi,
I read this ticket, but unfortunately this is not my option. In the current version of the WPAI Woocommerce addon that I have installed, this line has already been commented out.
So, unfortunately, this solution is not relevant for me.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
It may be a different case then, we will have to debug this in any case. That being said we will need some information:
- https://wpml.org/faq/provide-supporters-copy-site/
- please exclude all the media files, etc, to keep the package minimal.
- WordPress admin username and password
- clear steps to reproduce (URLs and screenshots were available)
Only once we will have all this information we will be able to debug this.
I marked your next reply private so you can safely add this information.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
This issue has been escalated to WPML developers. I'm afraid the issue itself is way more complex than providing a simple workaround before the final fix is there.
I will keep this thread updated as soon as I get any new information from them, but I do not have any time frames when and how will this be addressed.
Regards,
Bruno Kos
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.