Itachi93
Forum Replies Created
-
Hello Chouby,
Thank you for the guidance on the
wpml-config.xmlfile. We implemented the XML configuration in our theme to register the Name Your Price strings, but they are still not appearing in the Polylang Translations list.Here is the exact code we added to our theme’s
wpml-config.xml:XML
<wpml-config> <admin-texts> <key name="woocommerce_nyp_button_text" /> <key name="woocommerce_nyp_price_input_label" /> <key name="woocommerce_nyp_suggested_price_label" /> </admin-texts> <custom-fields> <custom-field action="translate">_suggested_price_label</custom-field> <custom-field action="translate">_price_input_label</custom-field> <custom-field action="translate">_nyp_suggested_price_label</custom-field> <custom-field action="translate">_nyp_price_input_label</custom-field> </custom-fields> </wpml-config>After adding this, we went back and resaved the Name Your Price plugin settings to trigger Polylang to scan for the new strings. However, searching for the labels in Languages > Translations still yields zero results.
We also checked the Italian product edit screen, and the custom fields for the NYP labels remain locked/unsynced.
Are these the correct
admin-textskeys andcustom-fieldmeta keys for the current version of Name Your Price? Is it possible the plugin is storing these labels inside a nested options array that requires a different XML structure?Appreciate your help in tracking down the exact keys.
Forum: Fixing WordPress
In reply to: Cookie consent banner on whole websiteHey Stef, I cannot use a plugin for GDPR cookie consent due to the fact I need a custom banner for it
Forum: Fixing WordPress
In reply to: Theme IssueThanks this looks like complex stuff I will look through it
Thanks again for the free support and keep up the good work
Forum: Themes and Templates
In reply to: Theme SIdebar Issue.Sorry default theme was activated, now its fixed and you can clearly see the issue at the bottom
Forum: Fixing WordPress
In reply to: Post ErrorNo one got a solution ?=(