Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author AntoineH

    (@antoineh)

    The plugin follows the date and time notation of WordPress so you can change the display format and timezone in the General settings of WordPress.

    Thread Starter Wendihihihi

    (@wendihihihi)

    Hi Antoine,

    The whole website is in Dutch (including the backend), but the timestamp in the shoutbox is in English. It also says ‘(nog 150 karakters)’, so that’s right.

    Plugin Author AntoineH

    (@antoineh)

    What exactly do you mean with “the timestamp is in English”? What does it display on the frontend?

    Thread Starter Wendihihihi

    (@wendihihihi)

    Here is a screenshot

    Screenshot. The month is still in English.

    Plugin Author AntoineH

    (@antoineh)

    At the moment there is no option to localize this text part. I will look into it tonight to see if I can implement WordPress’ date_i18n function here. If I can get it to work, I’ll post the update here.

    Plugin Author AntoineH

    (@antoineh)

    You can change this behavior by editing the file widgets/widget-football-pool-schoutbox.php.

    Change line 76 to:

    , date_i18n( "{$date_format}, {$time_format}", $shout_date->format( 'U' ) )

    Next version will have this change in it. I’ll do a scan of the application to see if there any other places where I need this localization.

    Thread Starter Wendihihihi

    (@wendihihihi)

    OK, thank you Antoine.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Shoutbox timestamp localization’ is closed to new replies.