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.