Support

Home Forums Event Espresso Premium Calendar in french

Calendar in french

Posted: March 16, 2016 at 1:05 pm

Viewing 6 reply threads


Cod106

March 16, 2016 at 1:05 pm

Hi,

It’s possible to translate this calendar in French also am and pm??

Thanks


Josh

  • Support Staff

March 16, 2016 at 5:49 pm

Hi there,

You can change the date and time formats used there by addding a bit of PHP code to your site. Here’s an example:

function ee_change_dtt_formats( $formats ) {
    return array(
        'date' => 'd/m/Y',
        'time' => 'H:i'
        );
}
add_filter( 'FHEE__espresso_events_Pricing_Hooks___set_hooks_properties__date_format_strings', 'ee_change_dtt_formats' );

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Cod106

March 16, 2016 at 6:12 pm

Very good thanks, and just to have the month in french.

Now date and time are ok.

Thanks you very much, This the best support!


Cod106

March 17, 2016 at 11:16 am

?


Cod106

March 17, 2016 at 1:46 pm

Hi,

2 questions for this picture:

1) How can I translate Name of the day, name of the month and the date in French and also for the calendar display see picture up.

2)I already translate all email models in French but when I click on the button “Send a reminder of paiement” (French: Envoyer Rappel de paiement) on the page transaction it’s in english

Why?


Cod106

March 20, 2016 at 5:08 am

Hi,

I have not received a response to my last post, thank you


Tony

  • Support Staff

March 21, 2016 at 5:05 am

Hi there,

Bumping your threads will usually have the opposite effect than intended as we try to answer questions based on the last reply date, in that case bumping a thread actually pushes it to the back of the queue 🙂

1) How can I translate Name of the day, name of the month and the date in French and also for the calendar display see picture up.

Currently this is not possible, I have created a ticket for our developers to see what we can do here.

2)I already translate all email models in French but when I click on the button “Send a reminder of paiement” (French: Envoyer Rappel de paiement) on the page transaction it’s in english

That’s a bug and will be fixed in the next version of EE.

The date is not being passed through date_i18n() before output so it is not localized, the next version of Event Espresso will do this. You will not need to translate anything for this to work it it will just work automatically based on your site language.

Viewing 6 reply threads

The support post ‘Calendar in french’ 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