While reading everywhere on support forums that multiple languages is not supported with Event Espresso for the moment, we have managed to use the .po and .mo file to have our site in English and French.
Although, we now have a problem with the following shortcodes that are not rendered on translated pages :
[ESPRESSO_CHECKOUT]
[ESPRESSO_THANK_YOU]
[ESPRESSO_CANCELLED]
Since the shortcodes are rendered on specific plugin pages that are chosen in the Main Settings of Event Espresso, they cannot render on the translated pages.
What hook could I use to have the shortcode render pages specified on the settings page AND their translation ?
We are trying to specify two different pages on which we can use the three shortcodes mentioned above.
I’m afraid there isn’t a hook that can be used to render those pages in additional places. You might try using a language switcher widget directly on those specific pages instead.
Thanks for your reply.
We are using WPML at the moment for translation.
I understand we can only specify one page specific on which we add the mentioned shortcodes.
Would there not be a way to render the specified “Checkout page” while using “pre_get_post” and changing the loaded locale ?
Let me know if you have any workaround for this problematic… and thanks again for your support !
PS. I have been reading multilingual support request dating back to 2012. This would be a nice feature to have, while It would be greatly appreciated if the “unsupported” notice was clear when purchasing the plugin.
Would there not be a way to render the specified “Checkout page” while using “pre_get_post” and changing the loaded locale ?
I’m not aware of any way to do that.
Viewing 3 reply threads
The support post ‘Specify two specific pages for Event Espresso shortcodes rendering/usage’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.