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.
Tagged: Media Translation
Related documentation:
This topic contains 11 replies, has 2 voices.
Last updated by Carlos Rojas 1 year, 6 months ago.
Assigned support staff: Carlos Rojas.
Author | Posts |
---|---|
July 2, 2019 at 2:40 pm #4128035 | |
marketingD-3 |
Hello, We found out that having the WPML Media plugin active in the website it is showing incorrect translation statuses for the pages specifically for duplicate pages: When the plugin gets deactivated and the duplicated pages are selected for duplication, the status gets fixed and remain fixed. The scenario we have is that we have 8 languages with a combination of translation and duplicated for each page. We also have 2 or 3 pages which we used the WPML media plugin to change a couple of images. We need help to restore the correct status of all pages, and remove the WPML media plugin until it gets fixed, but what will happen with those pages with modified images for translated pages? Thank you! |
July 2, 2019 at 4:51 pm #4128945 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hello, I would like to ask you to follow this steps in order to isolate the cause of the issue: Could you tell me the result of this steps? Kind regards, |
July 2, 2019 at 4:58 pm #4128965 | |
marketingD-3 |
Hi Carlos, Thank you for taking the time assisting me. I have actually done all that before creating this entry in my local PC. Here is the debug information: {"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/localhost\/testwpml","HomeURL":"http:\/\/localhost\/testwpml","Version":"5.2.2","PermalinkStructure":"\/%year%\/%monthnum%\/%day%\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, vc_grid_item, vc4_templates","PostStatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed"},"Server":{"jQueryVersion":"1.12.4-wp","PHPVersion":"7.3.6","MySQLVersion":"5.5.5","ServerSoftware":"Apache\/2.4.39 (Win64) OpenSSL\/1.1.1c PHP\/7.3.6"},"PHP":{"MemoryLimit":"256M","WP Memory Limit":"40M","UploadMax":"2M","PostMax":"8M","TimeLimit":"30","MaxInputVars":"1000","MBString":true,"libxml":true}},"plugins":{"active_plugins":{"classic-editor\/classic-editor.php":{"Plugin Slug":"","Name":"Classic Editor","PluginURI":"https:\/\/wordpress.org\/plugins\/classic-editor\/","Version":"1.5","Author":"WordPress Contributors","AuthorURI":"https:\/\/github.com\/WordPress\/classic-editor\/","TextDomain":"classic-editor","DomainPath":"\/languages","Network":false,"Title":"Classic Editor","AuthorName":"WordPress Contributors"},"cyber_extensions_for_wpml\/cyber_extensions_for_wpml.php":{"Plugin Slug":"","Name":"CyberArk extensions on the WPML plugin","PluginURI":"https:\/\/www.cyberark.com\/","Version":"1.0","Author":"Luis Florez","AuthorURI":"http:\/\/www.cyberark.com\/","TextDomain":"cyber_extensions_for_wpml","DomainPath":"","Network":false,"Title":"CyberArk extensions on the WPML plugin","AuthorName":"Luis Florez"},"js_composer\/js_composer.php":{"Plugin Slug":"","Name":"WPBakery Page Builder","PluginURI":"http:\/\/wpbakery.com","Version":"6.0.3","Author":"Michael M - WPBakery.com","AuthorURI":"http:\/\/wpbakery.com","TextDomain":"js_composer","DomainPath":"","Network":false,"Title":"WPBakery Page Builder","AuthorName":"Michael M - WPBakery.com"},"sitepress-multilingual-cms\/sitepress.php":{"Plugin Slug":"sitepress-multilingual-cms","Name":"WPML Multilingual CMS","PluginURI":"https:\/\/wpml.org\/","Version":"4.2.7.1","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"sitepress-multilingual-cms","DomainPath":"","Network":false,"Title":"WPML Multilingual CMS","AuthorName":"OnTheGoSystems"},"wpml-media-translation\/plugin.php":{"Plugin Slug":"wpml-media-translation","Name":"WPML Media","PluginURI":"https:\/\/wpml.org\/","Version":"2.5.2","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-media-translation","DomainPath":"","Network":false,"Title":"WPML Media","AuthorName":"OnTheGoSystems"},"wpml-string-translation\/plugin.php":{"Plugin Slug":"wpml-string-translation","Name":"WPML String Translation","PluginURI":"https:\/\/wpml.org\/","Version":"2.10.5.1","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-string-translation","DomainPath":"","Network":false,"Title":"WPML String Translation","AuthorName":"OnTheGoSystems"},"wpml-translation-management\/plugin.php":{"Plugin Slug":"wpml-translation-management","Name":"WPML Translation Management","PluginURI":"https:\/\/wpml.org\/","Version":"2.8.6.2","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com\/","TextDomain":"wpml-translation-management","DomainPath":"","Network":false,"Title":"WPML Translation Management","AuthorName":"OnTheGoSystems"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"Twenty Nineteen","ThemeURI":false,"Author":"the WordPress team","AuthorURI":"https:\/\/wordpress.org\/","Template":"","Version":"1.4","TextDomain":"twentynineteen","DomainPath":"","ParentName":""},"extra-debug":{"WMPL":{"hide_upgrade_notice":"4.2.7","icl_capabilities_verified":true,"active_languages":["en","es","de","fr","it","ja","zh-hans","zh-hant"],"interview_translators":1,"existing_content_language_verified":1,"language_negotiation_type":3,"theme_localization_type":3,"icl_lso_link_empty":0,"sync_page_ordering":1,"sync_page_parent":1,"sync_page_template":1,"sync_ping_status":1,"sync_comment_status":1,"sync_sticky_flag":1,"sync_password":1,"sync_private_flag":1,"sync_post_format":1,"sync_delete":0,"sync_delete_tax":0,"sync_post_taxonomies":1,"sync_post_date":0,"sync_taxonomy_parents":0,"translation_pickup_method":0,"notify_complete":1,"translated_document_status":1,"remote_management":0,"auto_adjust_ids":1,"alert_delay":0,"promote_wpml":0,"automatic_redirect":0,"remember_language":24,"icl_lang_sel_copy_parameters":"","translated_document_page_url":"auto-generate","sync_comments_on_duplicates ":0,"seo":{"head_langs":1,"canonicalization_duplicates":1,"head_langs_priority":1},"posts_slug_translation":{"on":1,"string_name_migrated":true},"urls":{"directory_for_default_language":0,"show_on_root":"","root_html_file_path":"","root_page":0,"hide_language_switchers":1},"xdomain_data":1,"custom_posts_sync_option":{"post":1,"page":1,"attachment":1,"wp_block":1,"vc_grid_item":1},"taxonomies_sync_option":{"category":1,"post_tag":1,"translation_priority":1},"tm_block_retranslating_terms":1,"admin_default_language":"_default_","taxonomy_names_checked":true,"ajx_health_checked":true,"st":{"db_ok_for_gettext_context":true,"WPML_ST_Upgrade_Migrate_Originals_has_run":true,"WPML_ST_Upgrade_Db_Cache_Command_2.4.2_2_has_run":true,"WPML_ST_Upgrade_Display_Strings_Scan_Notices_has_run":true,"WPML_ST_Upgrade_MO_Scanning_3_has_run":true,"WPML_ST_Upgrade_DB_String_Name_Index_2_has_run":true,"WPML_ST_Upgrade_DB_Longtext_String_Value_has_run":true,"strings_per_page":10,"icl_st_auto_reg":"disable","strings_language":"en","translated-users":[],"sw":[],"plugin_localization_domains":{"wpml-media-translation\/plugin.php":{"wpml-media":124},"wpml-translation-management\/plugin.php":{"wpml-translation-management":4},"wpml-string-translation\/plugin.php":{"wpml-string-translation":11},"js_composer\/js_composer.php":{"js_composer":554}},"theme_localization_domains":{"twentynineteen":{"twentynineteen":86}}},"default_categories":{"en":"1","zh-hans":2,"zh-hant":3,"fr":4,"de":5,"it":6,"ja":7,"es":8},"default_language":"en","setup_wizard_step":5,"translation-management":{"custom_fields_translation":{"title":2,"description":2,"keywords":2,"_edit_last":0,"_edit_lock":0,"_wp_page_template":0,"_wp_attachment_metadata":0,"original_post_id":0,"_wpml_original_post_id":0,"_wp_old_slug":0,"_icl_translator_note":0,"_alp_processed":0,"_pingme":0,"_encloseme":0,"_icl_lang_duplicate_of":0,"_thumbnail_id":0,"_wp_attached_file":0,"_wp_attachment_image_alt":2,"_wpml_media_duplicate":1,"_wpml_media_featured":1,"_vc_post_settings":0},"custom_fields_readonly_config":["_vc_post_settings","title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_wpml_media_duplicate","_wpml_media_featured"],"custom_fields_translation_custom":[],"custom_fields_translation_custom_readonly":[],"doc_translation_method":1,"__custom_types_readonly_config_prev":[],"custom_types_readonly_config":[],"__custom_fields_readonly_config_prev":["_vc_post_settings","title","description","keywords","_edit_last","_edit_lock","_wp_page_template","_wp_attachment_metadata","original_post_id","_wpml_original_post_id","_wp_old_slug","_icl_translator_note","_alp_processed","_pingme","_encloseme","_icl_lang_duplicate_of","_thumbnail_id","_wp_attached_file","_wp_attachment_image_alt","_wpml_media_duplicate","_wpml_media_featured"],"__custom_term_fields_readonly_config_prev":[],"custom_term_fields_readonly_config":[],"taxonomies_readonly_config":{"translation_priority":1},"custom-types_readonly_config":{"attachment":1,"wp_block":1,"vc_grid_item":1}},"custom-types_sync_option":{"attachment":1,"wp_block":1,"vc_grid_item":1},"language_selector_initialized":1,"languages_order":["zh-hans","zh-hant","en","fr","de","it","ja","es"],"dont_show_help_admin_notice":true,"setup_complete":1,"xliff_newlines":2,"tm_xliff_version":"12","site_does_not_use_icl":true,"translation_service":false,"show_translations_flag":1,"doc_translation_method":1,"WPML_Translate_Link_Target_Global_State":true},"installer":{"version":"1.9.4","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","products":"http:\/\/d2salfytceyqoe.cloudfront.net\/wpml33-products.json","subscription":""},"toolset":{"api-url":"https:\/\/api.toolset.com\/","products":"http:\/\/d7j863fr5jhrr.cloudfront.net\/toolset33-products.json","subscription":""}},"instances":{"C:\\xampp\\htdocs\\testwpml\\wp-content\\plugins\\sitepress-multilingual-cms\\vendor\\otgs\\installer\/installer.php":{"bootfile":"C:\\xampp\\htdocs\\testwpml\\wp-content\\plugins\\sitepress-multilingual-cms\\vendor\\otgs\\installer\/installer.php","version":"1.9.4","args":{"plugins_install_tab":1,"site_key_nags":[{"repository_id":"wpml","product_name":"WPML","condition_cb":[{"locale_utils":{},"footer_preview":false,"icl_translations_cache":null,"icl_language_name_cache":{"name":"language_name","cache_to_option":true,"cache_needs_saving":false},"icl_term_taxonomy_cache":null,"wpdb":{"show_errors":false,"suppress_errors":false,"last_error":"","num_queries":78,"num_rows":0,"rows_affected":0,"insert_id":970,"last_query":"SELECT option_value FROM wp_options WHERE option_name = \u0027auto_core_update_failed\u0027 LIMIT 1","last_result":[],"queries":null,"prefix":"wp_","base_prefix":"wp_","ready":true,"blogid":0,"siteid":0,"tables":["posts","comments","links","options","postmeta","terms","term_taxonomy","term_relationships","termmeta","commentmeta"],"old_tables":["categories","post2cat","link2cat"],"global_tables":["users","usermeta"],"ms_global_tables":["blogs","blogmeta","signups","site","sitemeta","sitecategories","registration_log","blog_versions"],"comments":"wp_comments","commentmeta":"wp_commentmeta","links":"wp_links","options":"wp_options","postmeta":"wp_postmeta","posts":"wp_posts","terms":"wp_terms","term_relationships":"wp_term_relationships","term_taxonomy":"wp_term_taxonomy","termmeta":"wp_termmeta","usermeta":"wp_usermeta","users":"wp_users","blogs":null,"blogmeta":null,"blog_versions":null,"registration_log":null,"signups":null,"site":null,"sitecategories":null,"sitemeta":null,"field_types":{"post_author":"%d","post_parent":"%d","menu_order":"%d","term_id":"%d","term_group":"%d","term_taxonomy_id":"%d","parent":"%d","count":"%d","object_id":"%d","term_order":"%d","ID":"%d","comment_ID":"%d","comment_post_ID":"%d","comment_parent":"%d","user_id":"%d","link_id":"%d","link_owner":"%d","link_rating":"%d","option_id":"%d","blog_id":"%d","meta_id":"%d","post_id":"%d","user_status":"%d","umeta_id":"%d","comment_karma":"%d","comment_count":"%d","active":"%d","cat_id":"%d","deleted":"%d","lang_id":"%d","mature":"%d","public":"%d","site_id":"%d","spam":"%d"},"charset":"utf8mb4","collate":"utf8mb4_unicode_ci","func_call":"$db-\u003Equery(\u0022SELECT option_value FROM wp_options WHERE option_name = \u0027auto_core_update_failed\u0027 LIMIT 1\u0022)","is_mysql":true,"categories":"wp_categories","post2cat":"wp_post2cat","link2cat":"wp_link2cat"}},"setup"]}]},"delegated":true}}}}} |
July 2, 2019 at 5:09 pm #4129085 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi there, 1.- You already provided the debug information of the site, so there is no need to provided them again. 2.- Regarding your question in your first message: what will happen with those pages with modified images for translated pages? -> In this case I think if you deactivate Media Translation plugin it won't affect the images, but it could affect the meta data of the images (title, description, etc). In order to check this I recommend you to create full backup of the site and deactivate Media Translation. Do you see any problem with the media in the site if Media Translation plugin is deactivated? Regards, |
July 2, 2019 at 5:25 pm #4129145 | |
marketingD-3 |
1. The debug information I provided before was for the website we maintain in a staging server. The second debug information is from a wordpress site I set up in my local machine with a standard wordpress theme and only the WPML plugin activated. 2. Thank you for clarifying that. We will deactivate then the plugin for now. So the only issue now is how can we fix all the translation status for those duplicate pages? They should show as Duplicate in Translation Manager as opposed to "Complete" or "Needs Update". Please advise. |
July 2, 2019 at 5:29 pm #4129155 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, In this case -unfortunately- you will have to change this status manually for each pages. There is no bulk option from WPML to change the states of the posts in general. Regards, |
July 9, 2019 at 1:34 pm #4171261 | |
marketingD-3 |
Hello, Sorry for the delay, I just want to know if the button located in the Troubleshooting page might fix the translation status for the duplicate pages. Based on the button's information it does what we need, but I just want to confirm with you. See attached a screenshot of the button. |
July 9, 2019 at 1:52 pm #4171379 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, This button applies other troubleshooting steps, however you can create a backup of the site's database and apply all the troubelshooting steps pointed out in the attached image. Regards, |
July 11, 2019 at 5:16 pm #4192191 | |
marketingD-3 |
How can I manually change the Translation Status to Duplicate. I marked one page to duplicate and it now appears as translation complete. |
July 11, 2019 at 7:48 pm #4192915 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, Could you tell me if the issue persists in a minimal install (only WPML plugins activated and a default WordPress theme active)? Regards, |
July 11, 2019 at 7:54 pm #4192969 | |
marketingD-3 |
Yes, I can confirm that the test was performed on a minimal install (default wordpress theme, only WPML plugins active) |
July 12, 2019 at 11:23 am #4198041 | |
Carlos Rojas Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+01:00) |
Hi there, In this case I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Regards, |