• Resolved Morten_Hjort

    (@morten_hjort)


    I am developing a new website where I want to use the plugin for simple Upcoming Activities. However the site is in Danish and while I can translate basically everything I’m not able to translate the text “There are no upcoming events.”. Is there a way to hardcode such a change?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi Morten,

    You can add an attribute to the shortcode or widget:

    no_events_text="your text here"

    Guido

    Plugin Author Guido

    (@guido07111975)

    I notice it’s a multi-language site, unfortunately it’s not possible to support this via the settings page or via an attribute. In this case I recommend using the default translation from WP dot org. But Danish is not fully translated yet, check this link. But you can complete translation if you want. You can also install a plugin such as Loco Translate and translate it via your dashboard.

    Guido

    Thread Starter Morten_Hjort

    (@morten_hjort)

    Thanks Guido! It’s not a regular multi-language site (uses WeGlot), so your shortcode worked perfectly. Appriciated!

    Plugin Author Guido

    (@guido07111975)

    Great, you’re welcome!

    Guido

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hardcode change in language?’ is closed to new replies.