Support » Plugins and Hacks » Events Manager » [Resolved] [Plugin: Events Manager] change language of months and countries

[Resolved] [Plugin: Events Manager] change language of months and countries

Viewing 11 replies - 1 through 11 (of 11 total)
  • Is it only the month language that you want to change (or the whole wp installation) and do you have a sample link?

    Hello, my wp installation is set in french but the time format in the plugin is in english!
    Here’s a link !

    I’ve added new words to be translated in the .po file but it does not work yet. 🙁
    By the way, I have other strings that I would like to translate in the admin pages (e.g: “add an event” page) but I can’t find the files which match to these pages.

    All right, I’ve managed to translate strings from admin forms with PoEdit.
    I also change manually countries in em-functions.php file.
    But I can’t find how to change those date strings.
    I have checked that months and days are translated yet in .po files.
    Does Anyone have an idea?

    Me again 😉
    The small calendar shows date in the language that I defined in the wordpress installation.
    I see that calendar-small.php use date_i18n function to internationalize the date.
    I would like to check if the #_EVENTDATES placeholder use the above function, but I can’t fint where the placeholder outputs are?
    Please does sombedy can help me?

    Plugin Author Marcus


    maaybe not in current version but it will in 5.0.5

    Thank you for the announced new version but could you tell me which file manage the placeholder outputs?
    I guess that #_EVENTDATES placeholder has a template with this date function!?

    Plugin Author Marcus


    classes/em-events.php function output()

    yes it does

    Phew, I’ve finally found what to do to have date format in the language defined in the wp intallation!
    In the classes/em-event.php file, change date function to date_i18n at the #_EVENTDATES case output (around line 1143)!
    Thank you for your help Marcus.

    Plugin Author Marcus


    np, the dev version also fixes this amongst others

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] [Plugin: Events Manager] change language of months and countries’ is closed to new replies.
Skip to toolbar