[buddypress-trac] [BuddyPress] #1222: Message excerpts don't work on inbox/sentbox under i18n environment

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Dec 29 15:21:35 UTC 2010


#1222: Message excerpts don't work on inbox/sentbox under i18n environment
---------------------+--------------------------------------
  Reporter:  takuya  |      Owner:
      Type:  defect  |     Status:  new
  Priority:  normal  |  Milestone:  1.3
 Component:  Core    |    Version:
Resolution:          |   Keywords:  i18n,excerpt,needs-patch
---------------------+--------------------------------------

Comment (by boonebgorges):

 Got some helpful feedback from
 http://buddypress.org/community/groups/localization/forum/topic/word-
 count-vs-character-count-for-automated-excerpts-feedback-
 wanted/#post-83508

 In my fix, I also modify all the places throughout BP where
 bp_create_excerpt() is called with an explicit $except_length, as well as
 the default value of $excerpt length. I used the multiplier of 4.5 to
 convert word lengths to character lengths, as a bit of internet research
 (along with
 http://buddypress.org/community/groups/localization/forum/topic/word-
 count-vs-character-count-for-automated-excerpts-feedback-
 wanted/#post-83458) made it sound like it'd be a good cross-language
 compromise. It seems to make excerpts look good everywhere I checked.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/1222#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list