WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. danielgc
    Member
    Posted 1 year ago #

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

    http://wordpress.org/extend/plugins/facebook-events-widget/

  2. roidayan
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    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
    Member
    Posted 1 year 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. roidayan
    Member
    Plugin Author

    Posted 1 year 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

About this Topic