Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brian

    (@brianjessee)

    Hi,

    I think those month names are generated by php and that could be causing the problem.

    Not sure how WPML is suppose to handle that.

    Are all Month or any other time related words always in english?

    Thanks

    Thread Starter cmkl

    (@cmkl)

    It’s only a problem if PHP generates them and they’re not in the right language i.e. when the application is not doing a setlocale (https://php.net/manual/en/function.setlocale.php) which in WordPress’s case is often invoked via the date_i18n() function.

    Is that not happening here?

    To answer your question, yes the date parts are always in english.

    Brook

    (@brook-tribe)

    Howdy cmkl,

    This is a question probably better suited for the WPML folks. There are many reasons why the dates might be wrong language. They actually come WordPress’ internationalization functions, which in turn rely on PHP as Brian said. Something on your install is mucking them up. And you’ll notice it’s not doing it just for The Events Calendar, but it’s doing it for all dates site wide as can be observed on the home page. I’m not sure what is causing that, but we’re not the translations experts here. ??

    If we can be of help let us know. But, I do think you will find people a lot more knowledgeable on general translation issues over on WPML forums. Especially consider this could be a WPML configuration issue.

    Cheers!
    – Brook

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to localize month names with WPML site’ is closed to new replies.