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

Support

Home Forums Event Espresso Premium Translation issue: adding new strings

Translation issue: adding new strings

Posted: December 4, 2013 at 10:44 am

Viewing 4 reply threads


B D

December 4, 2013 at 10:44 am

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?


Jonathan Wilson

  • Support Staff

December 4, 2013 at 12:42 pm

Hi there,

Have you thought about just adding the content of the email into the Email Manager? Then you wouldn’t need to do translations for the emails.

Will that work for you?


B D

December 4, 2013 at 1:43 pm

Of course I thought.

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.


Dean

  • Support Staff

December 5, 2013 at 3:39 am

Hi,

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.


B D

December 5, 2013 at 11:17 am

Thank you.

Viewing 4 reply threads

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.

Event Espresso - Staging Server