Support

Home Forums Event Espresso Premium Multilingual Event Espresso

Multilingual Event Espresso

Posted: December 9, 2013 at 3:53 am

Viewing 7 reply threads


luovajohtaja

December 9, 2013 at 3:53 am

Hi there,

What’s the status of multilingual Event Espresso atm? Is EE compatible with WPML?

Thanks!


Dean

December 9, 2013 at 4:21 am

Hei,

Not formally no, though some users have had success with using WPML and Event Espresso together. The plugin is translatable but some areas may require tweaking to get working with WPML.


luovajohtaja

December 11, 2013 at 4:02 am

Hei,

So how can I translate events? There’s no translate link or I can’t choose a language for the event.

Thanks!


Dean

December 11, 2013 at 5:11 am

Hi,

Translation occurs via WordPress. So long as WordPress is in another language than US English and the correct Event Espresso language files are installed then Event Espresso will translate automatically.

https://eventespresso.com/wiki/translating-event-espresso/


luovajohtaja

December 11, 2013 at 5:33 am

Hi,

I meant the title and description of a event.

Thanks!


Dean

December 11, 2013 at 5:51 am

Hi,

That’s where the issues lie, those are not transaltable by WordPress, so it is up to the translation plugin such as WPML to resolve it. Some users prefer to set duplicate events, one in either language, and honestly I’m not sure how others have managed it.

IT may become easier once Event Espresso version 4.0 is out and stable, as it uses true Custom Post Types, which may make it easier to use plugins like WPML.


luovajohtaja

December 11, 2013 at 6:55 am

Hi,

So how can I set the language of an event?

When will version 4.0 be out?


Sidney Harrell

December 11, 2013 at 12:14 pm

You could add a switch statement to each template file. Something like:

switch ($event_id) {
  case 2:
  case 4:
    global $sitepress;
    $sitepress->switch_lang("en");
    break;
  default:
}

I have to admit, I don’t have any experience using WPML. If you want a event title and description to be in a particular language, why not just write it in that language in the event editor. Or is it a matter of telling WPML what language you did write it in?
If you are trying to use multiple translations of EE, then you can take a look in espresso.php line 285, where we are setting the EE translation file to use based on the WPLANG constant. You could probably change that to pick up the lang from however WPML sets what the current lang is.

Viewing 7 reply threads

The support post ‘Multilingual Event Espresso’ 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