Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Translation issue: adding new strings | Event Espresso - Staging Server
My site is not in English and I placed my .po/.mo translation files in the uploads/espresso file.
I need to introduce new strings in a couple of automated emails, and I can only do this by adding them in the custom_functions.php file. However, these new strings do not pass in the .po/.mo files, so I cannot translate them. How to do?
Only, the email I’m talking about, as I said in my previous message, is automated, so I have no control over it; it is coded and triggered automatically. More precisely, I’m talking about the “New attendee registration approval pending” email that EE sends automatically.
If this message could be controlled from the Email Manager, I would be happy to learn how to do.
If your site is a single language site, one way would be to copy the event_espresso_send_attendee_registration_approval_pending function (it is a pluggable function) to the custom files addon and edit what you need there, including adding in the translations directly.
“If this message could be controlled from the Email Manager,”
It can’t currently, and for that we are sorry. 4.0 will be introducing a more more flexible messaging system allowing a lot more control over the emails.
The support post ‘Translation issue: adding new strings’ 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.