guymal
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Having different footers per languageThanks @abone6
I am using widgets in the footer but I don’t see that option in any widget. What do I need to do in order to see it?
Oh, now I see. I added it now but when I try to save the reCaptcha keys I get the exact same thing: the button is stuck on “Saving” and in the console I see this error:
react-dom.min.js?ver=18.2.0:10 Uncaught TypeError: wp.api.models.Settings is not a constructorI was using the regular form and now I added “Form (Adv)”.
But that doesn’t have the options for adding a reCaptcha.
Here’s what I see:

And the settings:

The regular form had more settings:

I think I’m missing something here.
Thanks!
Forum: Plugins
In reply to: [WP SendFox] How to translateCool, looking forward to a plugin update that supports this so I can get rid of my custom file @bogdanfix
Thanks!
Forum: Plugins
In reply to: [WP SendFox] How to translateHere’s the updated wp-sendfox.php file:
You can see I added a string for the checkbox label and in your init function gb_sf4wp_init I check if there’s a translation and if so, take it from there.
Then I just use that string in the 3 places where you look at $form[‘label’].
Forum: Plugins
In reply to: [WP SendFox] How to translateI updated wp-sendfox.php to handle this, would you like me to send you the file?
Forum: Plugins
In reply to: [WP SendFox] How to translateI think I know how you can do it:
If you add this to wp-sendfox.php:
if (function_exists('pll_register_string')) { pll_register_string('checkoutlabel', 'subscribe to our newsletter'); }and then add change to this where you use the string:
$form['label'] = pll__('subscribe to our newsletter');If the label is kept empty in the admin it should work (the translation will be in Polylang).
You’d probably need to also check if pll__ also exists before calling it.
Forum: Plugins
In reply to: [WP SendFox] How to translateFrom what I can tell it doesn’t let you translate strings from wp_options table
Here’s how TTfP works: https://wordpress.org/plugins/theme-translation-for-polylang/ maybe it’s something that’s easy to add support for?
Thanks
Forum: Plugins
In reply to: [WP SendFox] How to translateYes, I use Polylang.
I also have TTfP which lets you translate strings that are in plugins.
Forum: Plugins
In reply to: [WP SendFox] How to translateThanks for your response.
I need to translate the actual text that is displayed to the user, not the text in the WordPress interface. Basically to have the ability to translate the text value that I put in the “Checkbox label text” field in the plugin’s settings.
How do I do that ?
Thanks
Forum: Plugins
In reply to: [WP SendFox] How to translateIs there a way to translate the text?
Ok will do
- This reply was modified 3 years, 4 months ago by guymal.
Forum: Plugins
In reply to: [Uncanny Toolkit for LearnDash] How to translateI have both PolyLang and Loco and both didn’t work for translating Uncanny. Only when I installed TTfP I could translate the strings.
Forum: Plugins
In reply to: [Uncanny Toolkit for LearnDash] How to translateIf anybody is interested, here’s how I solved this:
I installed the “Theme and plugin translation for Polylang (TTfP)” plugin and set it to scan Uncanny Toolkit, then in Polylang’s Languages->Translations I could translate the necessary strings from Uncanny.
- This reply was modified 3 years, 4 months ago by guymal.
I just installed that plugin.
I chose to scan checkout-form-designer in its settings and then went into the PolyLang translations where it added a ton of new strings. When I search for first name for example it shows the string from “woo-checkout-field-editor-pro” and it shows it has a translation, but still in the interface I always see whatever label I typed in the Checkout Field Editor.
In Loco those strings don’t come up.
Thanks