Can’t translate all nutrition values like ‘carbohydrates’, ‘fiber’ etc.
-
Hey there,
how can we translate the nutrition values like “calories”, “fat”, “iron”, “calcium” etc. shown in the recipe?
I tried to translate these strings in the template editor (i have one template for DE and one for EN recipes) but couldn’t find them under “recipe nutrition” or “nutrition container” blocks.
I tried to translate them with Polylang string translation, which worked with other elements of WP Recipe Maker before, but the nutrition strings don’t show there either.
I tried the *.pot file of WP Recipe Maker but the required strings are not listed there.
I tried the *.pot file of WP Recipe Maker Premium – but there is not even a *.pot file.
Okay, then I thought maybe just create a new translation from one of the existing *.po files, I tried “wp-recipe-maker-premium-fr_FR.po”.
But I quickly noticed that there are missing strings in these files, too. I could translate strings like “iron”, “potassium”, “trans fat” etc. but failed to find the strings for “carbohydrates”, “fat”, “servings” and “fiber” for example.
Regarding “carbohydrates” for example, there is a string in these *.po files called “Total Cabohydrates”, but that seems not the one displayed in the recipe, where the nutrition facts are listed. Apart from that there is no other string referencing “carbohydrates” in any way. “Fiber” hast the same problem with “Dietary Fiber” and so on.
So my nutrition values are now translated only halfway.
Your plugin is really great and I’m using the premium version on a couple of websites, but translating the recipes is and was really a pain since the beginning, especially while using a multi language setup.
Maybe I’m just blind as a bat and it’s really simple to do, but at the moment, I’m at my wits’ end.
Any help would be apprecciated.
Greetings
PhilippThe page I need help with: [log in to see the link]
- The topic ‘Can’t translate all nutrition values like ‘carbohydrates’, ‘fiber’ etc.’ is closed to new replies.