Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Itachi93

    (@itachi93)

    Hello Chouby,

    Thank you for the guidance on the wpml-config.xml file. 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-texts keys and custom-field meta 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.

    Thread Starter Itachi93

    (@itachi93)

    Hey 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 Issue
    Thread Starter Itachi93

    (@itachi93)

    Thanks this looks like complex stuff I will look through it

    Thanks again for the free support and keep up the good work

    Thread Starter Itachi93

    (@itachi93)

    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 Error
    Thread Starter Itachi93

    (@itachi93)

    No one got a solution ?=(

Viewing 5 replies - 1 through 5 (of 5 total)