Title: [Plugin: Facebook Feed Grabber] Localization
Last modified: August 20, 2016

---

# [Plugin: Facebook Feed Grabber] Localization

 *  [NEkman](https://wordpress.org/support/users/nekman/)
 * (@nekman)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-facebook-feed-grabber-localization/)
 * Hey! Thanks for a very nice plugin!
 * However could you please add localization to your plugin? I’d like to translate
   strings such as “No comments” into my own language.
    Would also be nice with 
   24-hour time format.
 * [http://wordpress.org/extend/plugins/facebook-feed-grabber/](http://wordpress.org/extend/plugins/facebook-feed-grabber/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [bonnerl](https://wordpress.org/support/users/bonnerl/)
 * (@bonnerl)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-facebook-feed-grabber-localization/#post-2886859)
 * I believe already have all the strings localized… If I’m wrong then I’m not sure
   where I missed it.
    At this time if you want to make a date/time show up as 24-
   hour you can edit the facebook.php (**not** the one in the SDK folder). If you
   open the file in a text editor and go to line 171. You should find the following:
 *     ```
       // Date formats for event times.
       	public $date_formats = array(
       		// For event dates
       		'event' => array(
       			'today' => '\T\o\d\a\y \a\t g:ia',
       			'this_year' => 'l, F jS \a\t g:ia',
       			'other_year' => 'l, F jS, Y \a\t g:ia',
       		),
       		// For the dates something was posted
       		'feed' => array(
       			'today' => '\T\o\d\a\y \a\t g:ia',
       			'this_year' => 'M jS g:ia',
       			'other_year' => 'M jS, Y g:ia',
       		),
       	);
       ```
   
 * The array values in ‘today’ will apply to any date that is indeed today. ‘this_year’
   any date that is this year and last but not least you have the ‘other_year’ which
   you have probably guessed is any year other than this year.
 * See [Formatting Date and Time](http://codex.wordpress.org/Formatting_Date_and_Time)
   for guidance in formatting that these fields.
 * You will have to update the facebook.php anytime you update the plugin. I will
   be releasing an update sometime by the end of the week. When I do the code to
   update will be on line 195 unless I change stuff before that line between now
   and then.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Facebook Feed Grabber] Localization’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-feed-grabber.svg)
 * [Facebook Feed Grabber](https://wordpress.org/plugins/facebook-feed-grabber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-feed-grabber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-feed-grabber/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-feed-grabber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-feed-grabber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-feed-grabber/reviews/)

## Tags

 * [Localization](https://wordpress.org/support/topic-tag/localization/)

 * 1 reply
 * 2 participants
 * Last reply from: [bonnerl](https://wordpress.org/support/users/bonnerl/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-facebook-feed-grabber-localization/#post-2886859)
 * Status: not resolved