We have a client that has translated many post/pages/cpts with the classic editor from wordpress. Recently he switched to translating pages using the WPML translation editor and using automatic translations.
We would need a method to query all page that have not been translated with the WPML translation editor. Or a function that we can pass the post ID and have it return a boolean if the entity was translated with WPML translation editor or not.
If that doesn't work, you can check for a custom field in the wp_postmeta table with meta_key _last_translation_edit_mode and meta_value translation-editor or native-editor. The native-editor is the classic editor in WordPress, and it might help you build your custom query.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
The value that you are looking for is inside the table $prefix_icl_translate_job inside the column called "editor" but it is kind of tricky to make this value display inside the lists of your tables and posts, as this custom table does not use the post_id.
I have been trying to make it work for you but failed yet.
Further, I do not quite understand why this information might be useful. Could you please explain further?
The translation method for each content is found on the right sidebar of the WordPress Editor on any original content only.
Best regards
Andreas
The topic ‘[Closed] Filter posts by translation tool used’ is closed to new replies.
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.