Support

Home Forums Event Espresso Premium Translation of critical pages

Translation of critical pages

Posted: July 12, 2018 at 3:20 am


akra

July 12, 2018 at 3:20 am

Dear mighty php wizards of event-espresso-castle,

our site uses your event management plugin. However we want to support multiple languages and want to know if there is a way to either have two pages in different languages with the translated registration shortcode (which seems to be a problem for the plugin as far as we can tell) or have the registration shortcode be translated dynamically (e.g. based on a language cookie) on the same page without having to painstakingly replace all the relevant strings by overwriting it via filters ourselves.

Thank you and best regards


Josh

  • Support Staff

July 12, 2018 at 7:56 am

Hi,

The third option is going to be the most viable because the strings can be dynamically changed via filters, either directly if there’s an apply_filters() wrapped around the string, or indirectly with the gettext filter

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 1 week, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!