The string “This field is required” isn’t taken from a PHP file, it’s taken from the database. You set the value for the question validation message in the Event Espresso > registration form > Questions, in the Required Text field.
But its on your login site.
I use force login on my events. So if the user is not logged in, evey event shows the login first, which is a part of EE, isn’t it?
The actual string you’re seeing is coming from the jQuery Validator plugin, and doesn’t use the same translation methods as the PHP scripts do. You can translate this string using a bit of JavaScript, and a really good way to add the script to the page is to use the wp_add_inline_script() function.
Here’s a readymade code example you can use:
You can add the above to a functions plugin or into your WordPress theme’s functions.php file.
The support post ‘Strings not translated although in .mo file PART 2’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.