WordPress.org

Forums

Google Calendar Events
multi-language event builder (3 posts)

  1. mantish
    Member
    Posted 1 year ago #

    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/

  2. Ross Hanney
    Member
    Plugin Contributor

    Posted 1 year ago #

    Hello,

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

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

  3. mantish
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Calendar Events
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.