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.