Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hey Basker,

    The plugin uses the WordPress date_i18n function which should output the date in whatever language your WordPress installation is set to. Is your WordPress installation in English or German?

    Just a side note, that the plugin contains other date formats which don’t rely on translation, such as 30.4.2015, or the ‘Posted 5 days ago’ format which can be translated on the plugin’s ‘Custom Text/Translate’ settings page.

    John

    Thread Starter Baskerville

    (@baskerville)

    Hey! The installation was in english, but later set to german. It’s a litte bit messed up as far as i can see. It’s now “Januar 15th” So, it’s the german name of the month but the english th. xD
    Is there a way to change that?

    Plugin Author smashballoon

    (@smashballoon)

    If you want to remove the ‘th’ part at the end of the date then you’d need to edit the source code of the plugin. If you open the plugin’s custom-facebook-feed.php file and on line 1484 you’ll see the following:

    case '3':
    $print = date_i18n('F jS', $original);

    You’d need to remove the ‘S’ so that it reads:

    case '3':
    $print = date_i18n('F j', $original);

    Let me know whether that makes sense.

    John

    Thread Starter Baskerville

    (@baskerville)

    worked perfectly!

    Plugin Author smashballoon

    (@smashballoon)

    Awesome, glad to hear that ??

    Hope you’re having a good weekend.

    John

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Date language display’ is closed to new replies.