Those translations comes from the jQuery script we use to validate those fields: jQuery Validation Engine: https://github.com/posabsolute/jQuery-Validation-Engine/tree/master/js/languages
They are located here: wp-content\plugins\wysija-newsletters\js\validate\languages
What’s the 2 letter country code (ISO 639-1 Code) you are using on this website? https://www.loc.gov/standards/iso639-2/php/code_list.php
I have configured WordPress to use nb_NO (Norwegian Bokmål). nn_NO also exists, which is Norwegian Nynorsk.
I guess the answer would be nb or no?
See Wikipedia:
Indo-European Norwegian Bokmål Norsk bokmål nb nob nob nob Covered by macrolanguage [no/nor]
Indo-European Norwegian Nynorsk Norsk nynorsk nn nno nno nno Covered by macrolanguage [no/nor]
Indo-European Norwegian Norsk no nor nor nor + 2 macrolanguage, Bokmål is [nb/nob], Nynorsk is [nn/nno]
We only have: jquery.validationEngine-no.js
Try duplicate that file and renaming it to: jquery.validationEngine-nb_NO.js and jquery.validationEngine-nn_NO.js
I hope that helps you.
That sadly did not work.
And I also have the problem that the error appears off page since I have a pop-up that is on the bottom right. Is it possible to just have a red border around the textbox where you input the e-mail, or just a red X as the error?
Thank you.
Unfortunately, it’s not possible to change the validation script. I suggest you use a third party solution compatible with MailPoet to add a subscription form to your website where you would be more in control of the styles and language: https://support.mailpoet.com/knowledgebase/subscription-forms/#subscription-forms-popup
Hi again!
I am using WooCommerce WooCart Popup Lite to do this, and I’m adding the subcription field and button through a shortcode. I don’t see how any of the other plugins would be different? It would still be shortcodes or iFrame, so the error would still display the same way?
No, these others plugins that are compatible with MailPoet have used this code to make sure they work properly: https://support.mailpoet.com/knowledgebase/plugin-form-integrate/