Facebook Events Widget
[resolved] How to translate the dates? (4 posts)

  1. danielgc
    Posted 3 years ago #

    Excellent widget! thx! Is there a way to add some param so I can have the dates in es_ES?


  2. Roi Dayan
    Plugin Author

    Posted 3 years ago #


    I replied to you on my blog but you didn't reply again.

    for other readers here is my reply:

    I checked the php code and saw I’m using the wordpress framework to get the date. so it should be the same language as in your wordpress settings.
    The only thing left in english are the sentences of today, tomorrow, next week and next month.

    so what exactly you need a fix for the sentences or the dates?

  3. marmey83
    Posted 2 years ago #

    Dear Roi,
    first of all, thank you for this very useful plugin.
    I'm facing the same problems as daniel describes - however i've checked back - my Word Press Version runns in German.

    Do you have any other idea how to translate the months? I've already managed to fix the other translations.

    Thank you, Martina

  4. Roi Dayan
    Plugin Author

    Posted 2 years ago #

    if wordpress settings set locale to german it should work.
    you could try to use php setlocale.
    maybe try to add something like this to the script:
    setlocale(LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook Events Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic