Support » Plugin: Simple Calendar - Google Calendar Plugin » multi-language event builder

  • Hi,
    I’m using the plugin in a multi-language site with polylang.
    The calendar works fine, but I haven’t founsd a way to translate strings inside the events builder.
    Is it possible to use php or custom shortcodes inside the vent builder?.
    I’d like to do something like this:

    [link newwindow="true"]<?php pll_e('More details...'); ?>[/link]

    https://wordpress.org/plugins/google-calendar-events/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ross Hanney

    (@rosshanney)

    Hello,

    PHP definitely won’t work, I’m afraid.

    I’m not familiar with Polylang, does it provide shortcodes for different languages?

    Hi Ross,
    There are no shortcodes in Polylang but I guess I could create the shortcode in my theme.
    How should I do it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘multi-language event builder’ is closed to new replies.