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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | 10:00 – 14:00 | - | - |
16:00 – 20:00 | 16:00 – 20:00 | 16:00 – 20:00 | 16:00 – 20:00 | 16:00 – 20:00 | - | - |
Supporter timezone: Asia/Jerusalem (GMT+03:00)
Tagged: Compatibility
This topic contains 9 replies, has 0 voices.
Last updated by Itamar 1 day, 4 hours ago.
Assisted by: Itamar.
Author | Posts |
---|---|
March 26, 2025 at 6:17 pm #16864990 | |
sauliusD |
Background of the issue: Symptoms: Questions: |
March 30, 2025 at 7:52 pm #16877029 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, We might be facing a compatibility issue with the Phoenix Media Rename plugin. Although it is officially compatible with WPML, we have not tested it since May 2021. We need to replicate this issue on a fresh WordPress installation. Then, I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link: hidden link With this link, you'll be directly logged in. I installed the Phoenix Media Rename plugin and configured WPML to use Lithuanian as the default language and English as the second language. Please let us know when everything is finished and you can replicate the problem. Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation. |
March 31, 2025 at 12:17 pm #16879182 | |
sauliusD |
Hello, thank you. I addes some images and tried to edit names and titles with Phoenix Media rename. After renaming I have missing files in both languages. Saulius |
April 1, 2025 at 4:37 pm #16883956 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Thanks for replicating the problem on the sandbox site. I've escalated this issue to our compatibility team. I appreciate your patience. |
April 1, 2025 at 4:55 pm #16884056 | |
sauliusD |
Thank you. Is there an estimate, how long it could take to solve the problem? |
April 2, 2025 at 7:02 am #16885524 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, I'm sorry, but I don't know how long it will take to solve the problem. Our compatibility team will check it and respond in the next few days. We always do our best to fix anything we can. However, compatibility problems are not always in our hands. We might need the cooperation of the Phoenix Media Rename's developers. You can also contact them and report this problem to their support team. It may expedite the way to a solution. Regards, |
April 6, 2025 at 3:13 pm #16901472 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Our compatibility team has come up with a workaround for this issue. Here is the workaround. 1. Back up your site in case something goes wrong. 2. With a code editor, open this file: \wp-content\plugins\phoenix-media-rename\classes\class-plugins.php. 3. Look for line 131. 4. Replace: $translations = apply_filters('wpml_get_element_translations', NULL, $trid); With: $translations = apply_filters('wpml_get_element_translations', NULL, $trid, 'post_attachment'); 5. Save the file. Now, things should work, and the images will not disappear after renaming them. We must explain that when you upload an image to WordPress's media library, WPML does not duplicate the file in other languages. Instead, it creates an entry in the DB to show this image file in another language. If you need files with different names, you can use our Media Translation add-on and upload another file with a different name for the English language. You can read more about the Media Translation add-on here. https://wpml.org/documentation/getting-started-guide/media-translation/ Please let us know if this workaround works for you. Regards, |
April 10, 2025 at 4:25 am #16916418 | |
sauliusD |
Hello, after code changes it seem like it worked, but after bigger scale translations the problem still the same. We have missing a lot of images in the original language (not translated), but translated images are still there. |
April 10, 2025 at 12:32 pm #16918535 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, It is unclear to me if our solution helped you or not. Can you please explain what you mean by: "...after bigger scale translations the problem still the same"? I applied the workaround on the sandbox site. What are the steps to replicate this problem? Thanks, |
April 10, 2025 at 7:36 pm #16920370 | |
Itamar Supporter
Languages: English (English ) Hebrew (עברית ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Our compatibility second-tier supporter als asks and explains the following.
Regards, |