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: Compatibility, Known issue
This topic contains 9 replies, has 2 voices.
Last updated by Subash Chandra Poudel 1 year, 4 months ago.
Assisted by: Subash Chandra Poudel.
Author | Posts |
---|---|
July 24, 2023 at 1:46 am #14085359 | |
smn |
In the desert, I finally contacted you by purchasing the plugin. I already have thewpml plugin on my site, but I do not have the authority to log in to you. This is a client site, and I am not the one who added the plug-in to the site, and I bought it today in order to communicate with you to solve translation problems. I want to ask, after I purchased the plugin today, do I exchange it for the one that is currently on the site, and how do I do that? |
July 25, 2023 at 12:52 pm #14096585 | |
Subash Chandra Poudel |
Hi there, Welcome to WPML Support. From the debug info I see you are using the latest WPML version so it is not required to install/update WPML on your site. However please make sure to go to wp-admin -> Plugins -> Add New -> Commercial ( tab at the top ) and make sure the site is registered in your account as explained in the next link: https://wpml.org/faq/install-wpml/#register Regarding the issue, Please let me know what exactly are you trying to translate in Images and where can I see the issue on the site ( URLs to the page with issue ). Also check the following document on Media Translation with WPML and see if it helps: https://wpml.org/documentation/getting-started-guide/media-translation/ Regarding the search issue in secondary language I don't see the image attached for the issue in your ticket. Can you please let me know more details on the issue? Also let me know where ( URLs ) can I see the issue and how? Regards, |
July 25, 2023 at 6:16 pm #14098593 | |
smn |
Using Different Images and Media Across Languages |
July 25, 2023 at 6:24 pm #14098611 | |
smn |
What do I mean by the secondary language problem? When I search in Google for the name of the site in English, the site appears in Arabic, and this is the problem as well. New threads created by Subash Chandra Poudel and linked to this one are listed below: https://wpml.org/forums/topic/split-images-not-translations/ |
July 26, 2023 at 5:14 am #14099459 | |
smn |
I purchased the add-on to speed up the solution to the problem. My problem is big. I want a solution, please |
July 27, 2023 at 10:27 am #14109569 | |
Subash Chandra Poudel |
Thank you for the details. Please note I have split the issue with search in Google to a new ticket linked next since we try to handle only one issue per ticket so as to keep better track of issues. Lets follow-up regarding the Google search issue in that ticket. https://wpml.org/forums/topic/split-images-not-translations/ Now regarding the Media Translation issue , can you please try this and see if it helps: - First please confirm that the media is translated from WPML -> Media translation These steps are required because WPML Media translation works only for pages that are translated after the media is translated. If this does not helps, I would need to take a closer look at your site. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated. I have enabled a private reply for you to share the credentials securely, can you please share the login credentials of the site along with the Link to an example page with the issue where media translated from WPML -> Media Translation is not translating/updating? IMPORTANT: Please take a complete backup of the site first to avoid data loss. ✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it in my local machine to test the issue further. Regards, |
July 30, 2023 at 5:00 am #14122131 | |
smn |
any update |
July 30, 2023 at 6:22 am #14122141 | |
Subash Chandra Poudel |
Hi there, Thank you for the details. I did a few test on the site but was not able to conclude exactly why the issue is happening. I also created a test page ( hidden link ) and test uploaded/translated test images to test the issue further. As I see media translation is working for a new image I added/translated but for the image that you used on the post with the issue it does not seem to work. Also, as of now I see the post with the issue is deleted and in trash. One thing that I suspect is causing the issue is the special characters in the file name of the image because the name is in Arabic. Can you please upload a new image and translate it then create a new page with the image and translate it and see if it works or not? Regards, |
July 31, 2023 at 4:37 am #14123623 | |
smn |
The problem is not here. I have already seen the image, but what I mean is the featured image of the article . |
August 1, 2023 at 3:42 am #14130117 | |
Subash Chandra Poudel |
Hi there, Thank you for the reply. Yes, indeed after further checking the issue I found the issue is only with featured image and image translation for normal post images works fine. Also I found this issue has been reported before and we also have a workaround. As a workaround I placed the following code to your child theme functions.php file and the issue seems to be resolved as of now. // WPML Workaround for compsupp-6879 add_filter('post_thumbnail_id', function($thumbnail_id, $post){ $thumbnail_id = apply_filters( 'wpml_object_id', $thumbnail_id, 'attachment', TRUE ); return $thumbnail_id; }, 10, 2); Can you please check and confirm from your end? Regards, |