Plugin Author
Franky
(@liedekef)
Don’t use that page directly, use the available shortcodes in regular pages. EME is multi-language ready (for qtranslate and derivates, or via “lang=”) .
Dear Franky thank you for your replay and sorry that I set this back to a open request.
I now this but what you wrote, I thinks it works only for the short code in pages but when a user clicking on a event, in the background than the Event Page we set under Events will handle the language thing an this page is german and so we see the top Menu in German instead of english.
Do you have a concrete solution for this.
I can also pay for your support, but want only fix this thing.
Think this is also for others interesting.
Best Theo
PS: Do you need a link to the page?
Plugin Author
Franky
(@liedekef)
Normally I override the language and try to use the correct language (also on single event page). Which multi-language plugin are you using?
Thank you for your answer Franky,
I use xili language…
Best Theo
Plugin Author
Franky
(@liedekef)
If you could tell me the xili api call to find the correct language-related page for a certain page, then I could cook up something here …
Edit: I think it is something like:
$xili_language = new xili_language( false , false );
$language = the_curlang();
$id = get_post_meta( $events_page_id, QUETAG.’-‘.$language->slug, true );
with QUETAG being $xili_language->xili_settings[‘reqtag’]