This thread is resolved. Here is a description of the problem and solution.
Problem:
You are using WPML with the WP Recipe Maker plugin on your recipe website and have translated taxonomies like 'Ingredient Unit' from English to German. However, when using automatic translations for recipes, some taxonomy terms such as 'tsp' to 'Esslöffel' are not correctly translated in the recipes, displaying the original term instead.
Solution:
The issue arises because the WP Recipe Maker plugin stores ingredients and units as strings in the post meta (custom fields) rather than using taxonomy terms directly. To resolve this, you should:
1. Add the ingredient terms to the WPML glossary using the Advanced Translation Editor. This ensures consistent translation across your recipes. Learn more about managing glossary entries here: WPML Glossary Management.
2. Alternatively, you can manually link the custom field values to the translated taxonomy terms using the
get_term_by('slug' or 'name')
function and the wpml_object_id filter to display the correct translated term.
Please note that the solution might be irrelevant if it's outdated or not applicable to your specific case. If these steps do not resolve your issue, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us for further assistance.
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
Author | Posts |
---|---|
June 12, 2025 at 9:39 am #17129236 | |
maximilianK-25 |
Background of the issue: All relevant content, including post types and taxonomies, is set to be translatable. WPML, WP Recipe Maker, and the GeneratePress theme are all updated to the latest versions. Symptoms: Questions: |
June 12, 2025 at 10:33 am #17129576 | |
Christopher Amirian WPML Supporter since 07/2020
Languages: English (English ) Timezone: Asia/Yerevan (GMT+04:00) |
Hi, Welcome to WPML support. I will answer this ticket before the ticket is assigned to one of my colleagues. Would you please make sure you followed the steps mentioend in the documentation below? hidden link If yes, can you test for one recipe and see if the steps below fixes the taxonomy translation issue? - Go to your Dashboard > Pages. Thanks. |
June 12, 2025 at 3:51 pm #17130804 | |
maximilianK-25 |
Yes thanks for the fast reply. |
June 15, 2025 at 9:12 pm #17136843 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, I'll continue to help you with this issue. Could you please grant me access to your site and explain how and where I can view the issue? If you require additional assistance with this, please share the access details to your site with me. I'm enabling a private message for the following reply. Privacy and Security Policy |
June 17, 2025 at 12:57 pm #17142498 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Thanks for sharing the correct password. It works, and I can access your site. However, and very important, please know that you have shared it in a public reply. I'm unsure why you have ignored the private reply. (Not filling in the access details fields causes the reply to be public.) I'm now checking the issue on your site and will get back to you. Regards, |
June 17, 2025 at 1:58 pm #17142782 | |
maximilianK-25 |
Yes thank you, my bad. I've just changed the password and will send it to you in a private message. |
June 17, 2025 at 1:59 pm #17142784 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Thanks. I'm enabling a private reply to the following message. Regards, |
June 17, 2025 at 2:20 pm #17142852 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
I'm unsure what went wrong, but again, the reply was public. Please edit the first private reply and update the password there. |
June 17, 2025 at 3:29 pm #17143170 | |
maximilianK-25 |
I can't edit the previous messages even though the button is there. I'm using Google Chrome. |
June 17, 2025 at 7:16 pm #17143853 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, I'm also using Chrome and could just now edit the private reply. I'm unsure what goes wrong when you try. Maybe you should try it with another browser. In any case, I'm again enabling a private reply for the following message. Please ensure that you add the access details to the designated fields and check the corresponding checkboxes. It should look like this. Please see the attached screenshot. Regards, |
June 18, 2025 at 5:39 pm #17147938 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, I checked things on your site. To the best of my understanding, it is about translating fields in the German recipe. I'm uncertain if it's about translating the Ingredient Units. I edited the German recipe here: hidden link. I translated "tsp" (I added DE) directly in the field. Please see the attached screenshot, edit-recipe.jpg. Then I checked the German recipe post and could see that my translation displays. Please see the attached screenshot translation-on-frontend.jpg. Regards, |
June 19, 2025 at 5:52 am #17148627 | |
maximilianK-25 |
Hi Itamar, But I want to use the taxonomies that I have already translated. This is very important for me because I need a standardised wording so that the search filters work. If, for example, "tsp" is translated as "tablespoon" in one recipe and "tsp-DE" in another, what is the point of translating the taxonomies at all? If I have to translate everything manually anyway to make sure the wording is consistent, then that's a lot of effort and really disappointing considering the price of WPML compared to other language plugins... |
June 19, 2025 at 10:12 am #17149882 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Yes, I get your point, but I was wondering if those fields are actually holding the taxonomies. I'm unsure about it. The WP Recipe Maker plugin has some out-of-the-ordinary ways to implement things. The authors of the plugin were responsible for the guide on working with WPML. In their guide, they wrote this: "Our recommendation for using WP Recipe Maker on a multilingual blog is to create a separate recipe for separate languages. If that’s not an option for your site, the WPML Automatic Translation should work reasonably well." I wonder why they mention that it should work "reasonably" well... Did they mean that in certain cases it will not work well... Maybe we are facing here a compatibility issue that has not been reported yet. Therefore, we need to replicate this issue on a fresh WordPress installation. Then I'll be able to escalate it to our compatibility team. To achieve this, I created a test website with a clean WordPress installation. You can access it through this link: hidden link With this link, you'll be directly logged in. Could you please install the WP Recipe Maker plugin and see if the issue is replicable on a clean WordPress installation? I already configured WPML to have English as the default language and German as the second language. There are 2000 automatic translation credits assigned to this test page. Please also make sure that you are installing the latest version of the plugin. When everything is finished and you can replicate the problem, please let us know. And please describe the exact steps you took that led to the problem. Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation. Regards, |
June 19, 2025 at 11:38 am #17150217 | |
maximilianK-25 |
Thank you for providing the sandbox environment. 1. Set respective taxonomies to translatable The translated taxonomy terms were not correctly applied in the automatic translations. See screenshots for details. |
June 19, 2025 at 8:40 pm #17152334 | |
Itamar WPML Supporter since 02/2016
Languages: English (English ) Timezone: Asia/Jerusalem (GMT+03:00) |
Hi, Thanks for replicating the problem on the sandbox site. I'll check it and escalate it to our second-tier supporters team. We will keep you updated on any news regarding this issue. I appreciate your patience. |