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

The support post ‘Translation of critical pages’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 5 months ago ago

Topic Tags

Notifications

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