Support

Home Forums Event Espresso Premium Wordprss email shortcodes different language

Wordprss email shortcodes different language

Posted: March 22, 2014 at 3:57 pm


Michel Hurrell

March 22, 2014 at 3:57 pm

My site is multi lingual. The admin pages are in english, which i chose them to be for me. The main site is in English and the translation is in french. The Registration page is in french so Event Espresso in French. How do i get the emails to send the french version of the short codes?


Lorenzo Orlando Caum

  • Support Staff

March 22, 2014 at 7:49 pm

Hi Michel,

I don’t think the email templates support multiple languages but there is a way to test.

Could you try creating an email template using the email manager in Event Espresso. Then see if these send out in the different language.


Lorenzo


Michel Hurrell

March 23, 2014 at 7:40 am

I know they don’t support multi langagues. How do i ensure those email shortocedes get sent out in French as opposed to English? How don’t want Map and Directions but I want the french equivalent of that. I can translate if I need to.


Lorenzo Orlando Caum

  • Support Staff

March 23, 2014 at 12:43 pm

Hello again,

When you ran this test (https://eventespresso.com/topic/wordprss-email-shortcodes-different-language/#post-87879) were they also sent through as English?


Lorenzo


Michel Hurrell

March 23, 2014 at 2:00 pm

I did the [google_map_link] and got Map and Directions. So it sent it in English. I want it to send it in French.


Michel Hurrell

March 23, 2014 at 2:20 pm

I want everything in French please.


Michel Hurrell

March 24, 2014 at 7:49 pm

I am hoping to release the site this week and would really like to get this finished.


Tony

  • Support Staff

March 25, 2014 at 3:44 am

Hi Michel,

If I am understanding this correctly, the phrase you would like to translate is ‘Map and Directions’. That phrase should be translatable and therefor you can use the guide posted here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

I would recommend using either the quick-localization plugin or the function within that post.


Michel Hurrell

March 25, 2014 at 12:21 pm

I have the complete French event espresso .mo file already uploaded to my wp-content/uploads/espresso/languages. I checked that is translated correctly. Still sending out english titles on those shortcodes.

I made sure to have the wordpress language is french.

Also some of the plugin files do not show in those files and I might have to hard edit the English in the files to display the correct language. Is that the only solution? Change the text in the file?


Michel Hurrell

March 26, 2014 at 11:19 pm

Any help would be much appreciated


Dean

March 27, 2014 at 2:09 am

Hi,

Do you just have the MO file uploaded? if so you need the PO file as well as that contains the actual translations.

I updated my live test server to be in French, uploaded the MO and PO files and the email translates correctly (obviously i did not translate the email itself) http://take.ms/icaDm


Michel Hurrell

March 27, 2014 at 9:21 am

Ok i will give that a shot as well


Michel Hurrell

March 27, 2014 at 9:30 am

Is their a way to manually do this. The problem is that I am working with a multi language site but I just want all the emails to be in french. I know at this point its too much to ask to be multilanguage support but I would be happy with french emails.

Many thanks


Michel Hurrell

March 28, 2014 at 3:39 pm

How should i get this fixed. Is there any way for more direct support to fix this?


Dean

March 31, 2014 at 12:35 am

Hi,

To manually edit this you would need to change a core file which will be over written on updates, so will have to be changed every time you update.

IF you still wish to do that, then open wp-content/plugins/event-espresso/includes/functions/main.php

On line 970 approx, you will see

$text = $text == '' ? __('Map and Directions', 'event_espresso') : $text;

change the Map and Directions as required.

The support post ‘Wordprss email shortcodes different language’ 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