I’m not able to translate the Cookie Notice message from PatchStack
-
Hi guys.
First things first, thank you for your awesome plugin.
I’m having a hard time trying to translate the Cookie Notice Message from PatchStack. The message doesn’t appear in the Strings translations, nothing related to that security plugin does.
I’ve tried to add the string as a custom one, with a code I found in your documentation.
//// Add to Polylang "Strings translations" add_action('init', function() { pll_register_string('webarx-cookies', 'We use cookies for various purposes including analytics and personalized marketing. By continuing to use the service, you agree to our use of cookies.'); pll_register_string('webarx-accept', 'I agree'); pll_register_string('webarx-politics', 'Cookie Policy'); pll_register_string('webarx-url', 'https://agenciarse.com/privacy-policy/'); });
Now the strings appear in the String Translation tab inside the ‘Polylang’ group. But, after adding the translations, nothing happened. The translations don’t work.
I don’t know if this doesn’t work because those aren’t custom theme strings and I’m trying to translate a plugin one…
I’ve even tried installing Loco Translate, and these specific strings don’t appear either.
Can you please give me a hand on this? Appreciated.
Thank you, guys.
- The topic ‘I’m not able to translate the Cookie Notice message from PatchStack’ is closed to new replies.